mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Panels: memory/cpu optimizations by moving most stuff to panelContent so its only loaded on demand
This commit is contained in:
@@ -16,6 +16,7 @@ SmartPanel {
|
||||
preferredHeight: Math.round(500 * Style.uiScaleRatio)
|
||||
|
||||
panelContent: Rectangle {
|
||||
id: panelContent
|
||||
color: Color.transparent
|
||||
|
||||
// Calculate content height based on header + devices list (or minimum for empty states)
|
||||
|
||||
Reference in New Issue
Block a user