1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-09 09:35:02 +09:00
This commit is contained in:
Andrew Simachev 2024-12-06 19:54:19 +01:00
commit ce4bacb8ed
No known key found for this signature in database
GPG key ID: 1DFE44B21443F0EF
23 changed files with 446 additions and 593 deletions

View file

@ -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 });
};
};