chore(layout): relocate ribbon on the top temporarily

This commit is contained in:
Elian Doran 2025-12-12 00:15:58 +02:00
parent 78b9c94829
commit 9ee3c48485
No known key found for this signature in database

View File

@ -154,6 +154,11 @@ export default class DesktopLayout {
) )
.optChild(!isFloatingTitlebar, titleRow) .optChild(!isFloatingTitlebar, titleRow)
.optChild(!isNewLayout, <Ribbon><NoteActions /></Ribbon>) .optChild(!isNewLayout, <Ribbon><NoteActions /></Ribbon>)
.optChild(isNewLayout, (
<Ribbon>
<NoteStatusBar />
</Ribbon>
))
.child(new WatchedFileUpdateStatusWidget()) .child(new WatchedFileUpdateStatusWidget())
.child(<FloatingButtons items={DESKTOP_FLOATING_BUTTONS} />) .child(<FloatingButtons items={DESKTOP_FLOATING_BUTTONS} />)
.child( .child(
@ -179,11 +184,6 @@ export default class DesktopLayout {
...this.customWidgets.get("node-detail-pane"), // typo, let's keep it for a while as BC ...this.customWidgets.get("node-detail-pane"), // typo, let's keep it for a while as BC
...this.customWidgets.get("note-detail-pane") ...this.customWidgets.get("note-detail-pane")
) )
.optChild(isNewLayout, (
<Ribbon>
<NoteStatusBar />
</Ribbon>
))
.optChild(isNewLayout, <StatusBar />) .optChild(isNewLayout, <StatusBar />)
) )
) )