mobile layout has floating buttons

This commit is contained in:
zadam
2022-12-11 13:54:12 +01:00
parent c231b3cb79
commit dcfa9c4c0b
4 changed files with 23 additions and 7 deletions

View File

@@ -83,7 +83,7 @@ export default class DesktopLayout {
}
getRootWidget(appContext) {
appContext.mainTreeWidget = new NoteTreeWidget("main");
appContext.noteTreeWidget = new NoteTreeWidget();
return new RootContainer()
.setParent(appContext)
@@ -96,7 +96,7 @@ export default class DesktopLayout {
)
.child(new LeftPaneContainer()
.child(new QuickSearchWidget())
.child(appContext.mainTreeWidget)
.child(appContext.noteTreeWidget)
.child(...this.customWidgets.get('left-pane'))
)
.child(new FlexContainer('column')