mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
fix(mindmap): save direction as soon as it is changed (closes #986)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user