mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Merge pull request #2514 from notiant/patch-13
Fix pixelation of colorized dock icons
This commit is contained in:
@@ -584,6 +584,7 @@ Item {
|
|||||||
|
|
||||||
// Apply dock-specific colorization shader only to non-focused apps
|
// Apply dock-specific colorization shader only to non-focused apps
|
||||||
layer.enabled: !appButton.isActive && Settings.data.dock.colorizeIcons
|
layer.enabled: !appButton.isActive && Settings.data.dock.colorizeIcons
|
||||||
|
layer.smooth: true
|
||||||
layer.effect: ShaderEffect {
|
layer.effect: ShaderEffect {
|
||||||
property color targetColor: Settings.data.colorSchemes.darkMode ? Color.mOnSurface : Color.mSurfaceVariant
|
property color targetColor: Settings.data.colorSchemes.darkMode ? Color.mOnSurface : Color.mSurfaceVariant
|
||||||
property real colorizeMode: 0.0 // Dock mode (grayscale)
|
property real colorizeMode: 0.0 // Dock mode (grayscale)
|
||||||
|
|||||||
Reference in New Issue
Block a user