forked from Shinonome/dots-hyprland
waffles: action center: volume menu
This commit is contained in:
@@ -9,4 +9,17 @@ Singleton {
|
||||
|
||||
property StackView stackView
|
||||
|
||||
function push(component) {
|
||||
if (stackView) {
|
||||
item = stackView.push(component)
|
||||
stackView.implicitWidth = item.implicitWidth
|
||||
stackView.implicitHeight = item.implicitHeight
|
||||
}
|
||||
}
|
||||
|
||||
function back() {
|
||||
if (stackView && stackView.depth > 1) {
|
||||
stackView.pop()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user