fix(mindmap): save direction as soon as it is changed (closes #986)

This commit is contained in:
Elian Doran 2025-01-19 23:48:30 +02:00
parent b47dc13ff1
commit 7f15f8a7de
No known key found for this signature in database

View File

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