mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
fix(wallpaper): hide light/dark icon in split wallpaper mode
This commit is contained in:
@@ -1348,11 +1348,12 @@ SmartPanel {
|
||||
id: paletteRowRow
|
||||
spacing: Style.marginXS
|
||||
|
||||
// Sun/moon = appearance slot this path was starred for (not the current tab)
|
||||
// Sun/moon only when light/dark share one wallpaper (which appearance the favorite targets)
|
||||
Rectangle {
|
||||
width: paletteRow.diameter
|
||||
height: paletteRow.diameter
|
||||
radius: width * 0.5
|
||||
visible: Settings.data.wallpaper.linkLightAndDarkWallpapers
|
||||
color: Color.mSurface
|
||||
border.color: Color.mShadow
|
||||
border.width: Style.borderS
|
||||
|
||||
Reference in New Issue
Block a user