Initial commit for submenu popouts, unfinished
This commit is contained in:
+3
-1
@@ -15,13 +15,14 @@ Item {
|
||||
property real currentCenter
|
||||
property alias currentName: popoutState.currentName
|
||||
property string detachedMode
|
||||
readonly property bool isDetached: detachedMode.length > 0
|
||||
property alias hasCurrent: popoutState.hasCurrent
|
||||
readonly property bool isDetached: detachedMode.length > 0
|
||||
readonly property real nonAnimHeight: children.find(c => c.shouldBeActive)?.implicitHeight ?? content.implicitHeight
|
||||
readonly property real nonAnimWidth: children.find(c => c.shouldBeActive)?.implicitWidth ?? content.implicitWidth
|
||||
required property real offsetScale
|
||||
property string queuedMode
|
||||
required property ShellScreen screen
|
||||
property alias state: popoutState
|
||||
|
||||
function close(): void {
|
||||
hasCurrent = false;
|
||||
@@ -79,6 +80,7 @@ Item {
|
||||
|
||||
sourceComponent: Content {
|
||||
popouts: popoutState
|
||||
screen: root.screen
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user