mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 19:12:27 +08:00
fix(mindmap): save direction as soon as it is changed (closes #986)
This commit is contained in:
parent
b47dc13ff1
commit
7f15f8a7de
@ -175,6 +175,11 @@ export default class MindMapWidget extends TypeWidget {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Save the mind map if the user changes the layout direction.
|
||||||
|
this.$content.on("click", ".mind-elixir-toolbar.lt", () => {
|
||||||
|
this.spacedUpdate.scheduleUpdate();
|
||||||
|
});
|
||||||
|
|
||||||
super.doRender();
|
super.doRender();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user