mirror of
https://github.com/alesimula/Murine-launcher.git
synced 2026-10-28 09:43:42 +00:00
THEMING - ICON-SHAPE - bugfix - properly refresh folder icon mask
This commit is contained in:
1 parent
795f7f635e
commit
de581ab62d
1 file changed
+1
-1
@@ -114,7 +114,7 @@ constructor(
|
||||
val iconShape = if (oldState != null && oldState.iconMask == iconMask) oldState.iconShape
|
||||
else pickBestShape(iconMask)
|
||||
|
||||
val folderShapeMask = shapeModel.folderPathString
|
||||
val folderShapeMask = shapeModel.folderPathString.ifBlank { iconMask }
|
||||
val folderShape = when {
|
||||
oldState != null && oldState.folderShapeMask == folderShapeMask -> oldState.folderShape
|
||||
folderShapeMask == iconMask || folderShapeMask.isBlank() -> iconShape
|
||||
|
||||
Reference in new issue
Block a user