mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Dock: GPU optimization
This commit is contained in:
@@ -303,6 +303,10 @@ Loader {
|
||||
border.width: Style.borderS
|
||||
border.color: Qt.alpha(Color.mOutline, Settings.data.dock.backgroundOpacity)
|
||||
|
||||
// Enable layer caching to reduce GPU usage from continuous animations
|
||||
// (pulse animations on active indicators run infinitely)
|
||||
layer.enabled: true
|
||||
|
||||
MouseArea {
|
||||
id: dockMouseArea
|
||||
anchors.fill: parent
|
||||
|
||||
Reference in New Issue
Block a user