Add a setting to keep theme colours on documents when using override

This commit is contained in:
Veronica Berglyd Olsen
2025-01-11 00:48:09 +01:00
parent c3c24d5533
commit 5bf113de23
4 changed files with 22 additions and 6 deletions
+6 -5
View File
@@ -607,11 +607,12 @@ class GuiIcons:
color = self._svgColours.get(override, b"#000000")
self._svgColours["root"] = color
self._svgColours["folder"] = color
self._svgColours["file"] = color
self._svgColours["title"] = color
self._svgColours["chapter"] = color
self._svgColours["scene"] = color
self._svgColours["note"] = color
if not CONFIG.iconColDocs:
self._svgColours["file"] = color
self._svgColours["title"] = color
self._svgColours["chapter"] = color
self._svgColours["scene"] = color
self._svgColours["note"] = color
return True