mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
♻️ rm hasContext
This commit is contained in:
parent
e40bc18d86
commit
d2a6c03d52
27 changed files with 31 additions and 92 deletions
|
|
@ -598,14 +598,12 @@ export class Graph extends Model {
|
|||
openFileById({
|
||||
id: node.id,
|
||||
position: "bottom",
|
||||
hasContext: true,
|
||||
action: [Constants.CB_GET_FOCUS]
|
||||
});
|
||||
} else if (window.siyuan.altIsPressed) {
|
||||
openFileById({
|
||||
id: node.id,
|
||||
position: "right",
|
||||
hasContext: true,
|
||||
action: [Constants.CB_GET_FOCUS]
|
||||
});
|
||||
} else if (window.siyuan.ctrlIsPressed) {
|
||||
|
|
@ -614,7 +612,7 @@ export class Graph extends Model {
|
|||
nodeIds: [node.id],
|
||||
}));
|
||||
} else {
|
||||
openFileById({id: node.id, hasContext: true, action: [Constants.CB_GET_FOCUS]});
|
||||
openFileById({id: node.id, action: [Constants.CB_GET_FOCUS]});
|
||||
}
|
||||
});
|
||||
}, 1000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue