mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-01 18:15:41 +00:00
SmartPanel: fix dynamic UI scaling
This commit is contained in:
@@ -106,6 +106,16 @@ Item {
|
||||
signal opened
|
||||
signal closed
|
||||
|
||||
Connections {
|
||||
target: Style
|
||||
|
||||
function onUiScaleRatioChanged() {
|
||||
if (root.isPanelOpen && root.isPanelVisible) {
|
||||
root.setPosition()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Panel visibility and sizing
|
||||
visible: isPanelVisible
|
||||
width: parent ? parent.width : 0
|
||||
|
||||
Reference in New Issue
Block a user