Skip to content

Commit 216fd13

Browse files
committed
feat: flash small rectangle for foreground color update in debug mode
1 parent fc1f324 commit 216fd13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package/contents/ui/main.qml

+3-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,9 @@ PlasmoidItem {
291291
}
292292
}
293293
count++
294-
// repaintDebugComponent.createObject(child)
294+
if (debug) {
295+
repaintDebugComponent.createObject(child)
296+
}
295297
}
296298
if (child.visibleChildren?.length ?? 0 > 0) {
297299
const result = applyFgColor(child, newColor, fgColorCfg, depth + 1, wRecolorCfg, fgColorModified)

0 commit comments

Comments
 (0)