summaryrefslogtreecommitdiff
path: root/services/Colours.qml
diff options
context:
space:
mode:
Diffstat (limited to 'services/Colours.qml')
-rw-r--r--services/Colours.qml6
1 files changed, 0 insertions, 6 deletions
diff --git a/services/Colours.qml b/services/Colours.qml
index 20fb6aa..53ca90e 100644
--- a/services/Colours.qml
+++ b/services/Colours.qml
@@ -12,7 +12,6 @@ Singleton {
readonly property list<string> colourNames: ["rosewater", "flamingo", "pink", "mauve", "red", "maroon", "peach", "yellow", "green", "teal", "sky", "sapphire", "blue", "lavender"]
property bool showPreview
- property bool endPreviewOnNextChange
property bool light
readonly property Colours palette: showPreview ? preview : current
readonly property Colours current: Colours {}
@@ -45,11 +44,6 @@ Singleton {
if (colours.hasOwnProperty(propName))
colours[propName] = `#${colour}`;
}
-
- if (!isPreview || (isPreview && endPreviewOnNextChange)) {
- showPreview = false;
- endPreviewOnNextChange = false;
- }
}
function setMode(mode: string): void {