mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
fix notemap resize + upgrade of force-graph
This commit is contained in:
@@ -77,7 +77,7 @@ export default class NoteMapRibbonWidget extends NoteContextAwareWidget {
|
||||
|
||||
this.openState = 'full';
|
||||
|
||||
this.noteMapWidget.setHeight();
|
||||
this.noteMapWidget.setDimensions();
|
||||
});
|
||||
|
||||
this.$collapseButton = this.$widget.find('.collapse-button');
|
||||
@@ -89,7 +89,7 @@ export default class NoteMapRibbonWidget extends NoteContextAwareWidget {
|
||||
|
||||
this.openState = 'small';
|
||||
|
||||
this.noteMapWidget.setHeight();
|
||||
this.noteMapWidget.setDimensions();
|
||||
});
|
||||
|
||||
window.addEventListener('resize', () => {
|
||||
|
||||
Reference in New Issue
Block a user