mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-09 09:35:02 +09:00
merge
This commit is contained in:
commit
ce4bacb8ed
23 changed files with 446 additions and 593 deletions
5
dist/workers/graph.js
vendored
5
dist/workers/graph.js
vendored
|
@ -623,7 +623,9 @@ onClick = ({ x, y }) => {
|
|||
|
||||
onSelect = ({ x, y, selectRelated }) => {
|
||||
const d = getNodeByCoords(x, y);
|
||||
let related = [];
|
||||
|
||||
let related = [];
|
||||
|
||||
if (d) {
|
||||
if (selectRelated) {
|
||||
related = edgeMap.get(d.id);
|
||||
|
@ -637,6 +639,7 @@ onSetRootId = ({ x, y }) => {
|
|||
const d = getNodeByCoords(x, y);
|
||||
if (d) {
|
||||
this.setRootId({ rootId: d.id });
|
||||
send('setRootId', { node: d.id });
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue