left-bar working, bottom bar semi-broken
This commit is contained in:
@@ -8,12 +8,14 @@ import qs.Config
|
||||
Item {
|
||||
id: root
|
||||
|
||||
required property bool horizontal
|
||||
readonly property real nonAnimHeight: content.item?.nonAnimHeight ?? 0
|
||||
property real offsetScale: shouldBeActive ? 0 : 1
|
||||
readonly property bool shouldBeActive: root.visibilities.resources
|
||||
required property PersistentProperties visibilities
|
||||
|
||||
anchors.topMargin: (-implicitHeight - 5) * offsetScale
|
||||
anchors.leftMargin: horizontal ? 0 : (-implicitWidth - 5) * offsetScale
|
||||
anchors.topMargin: horizontal ? (-implicitHeight - 5) * offsetScale : 0
|
||||
clip: true
|
||||
implicitHeight: content.implicitHeight
|
||||
implicitWidth: content.implicitWidth || 854 // Hard coded fallback for first open
|
||||
|
||||
Reference in New Issue
Block a user