diff options
author | j.delarago <joeydelarago@gmail.com> | 2022-01-25 13:32:41 +0300 |
---|---|---|
committer | j.delarago <joeydelarago@gmail.com> | 2022-01-25 13:32:41 +0300 |
commit | 7f81a2aa8c0ded473b14313cea03433e510bcc13 (patch) | |
tree | f24463451991d5692c4e32e5d3022fdda87dfb75 | |
parent | 0f4a49ac6d6e2ad657bc58a16b072a7b63fc739e (diff) |
Rename low quality CheckMark.svg -> Check.svg
Rename low quality Check.svg -> CheckThin.svg
-rw-r--r-- | resources/qml/Settings/SettingCheckBox.qml | 2 | ||||
-rw-r--r-- | resources/qml/Widgets/MenuItem.qml | 2 | ||||
-rw-r--r-- | resources/themes/cura-light/icons/low/Check.svg | 4 | ||||
-rw-r--r-- | resources/themes/cura-light/icons/low/CheckMark.svg | 3 | ||||
-rw-r--r-- | resources/themes/cura-light/icons/low/CheckThin.svg | 3 | ||||
-rwxr-xr-x | resources/themes/cura-light/styles.qml | 4 |
6 files changed, 9 insertions, 9 deletions
diff --git a/resources/qml/Settings/SettingCheckBox.qml b/resources/qml/Settings/SettingCheckBox.qml index 64fd460d1c..1204c6dfe5 100644 --- a/resources/qml/Settings/SettingCheckBox.qml +++ b/resources/qml/Settings/SettingCheckBox.qml @@ -151,7 +151,7 @@ SettingItem width: UM.Theme.getSize("checkbox_mark").width sourceSize.height: width color: !enabled ? UM.Theme.getColor("setting_control_disabled_text") : UM.Theme.getColor("setting_control_text"); - source: UM.Theme.getIcon("CheckMark", "low") + source: UM.Theme.getIcon("Check", "low") opacity: control.checked ? 1 : 0 Behavior on opacity { NumberAnimation { duration: 100; } } } diff --git a/resources/qml/Widgets/MenuItem.qml b/resources/qml/Widgets/MenuItem.qml index 48570424df..96869f028f 100644 --- a/resources/qml/Widgets/MenuItem.qml +++ b/resources/qml/Widgets/MenuItem.qml @@ -37,7 +37,7 @@ MenuItem anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left anchors.leftMargin: UM.Theme.getSize("default_margin").width - source: UM.Theme.getIcon("CheckMark", "low") + source: UM.Theme.getIcon("Check", "low") color: UM.Theme.getColor("setting_control_text") } diff --git a/resources/themes/cura-light/icons/low/Check.svg b/resources/themes/cura-light/icons/low/Check.svg index a20a9b1b70..9630b70052 100644 --- a/resources/themes/cura-light/icons/low/Check.svg +++ b/resources/themes/cura-light/icons/low/Check.svg @@ -1,3 +1,3 @@ -<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> -<path d="M10.7 13.3L7.4 10L6 11.4L10.7 16.1L17.4 9.4L16 8L10.7 13.3Z"/> +<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"> +<path d="M5 9.41397L2.293 6.70697L3.707 5.29297L5 6.58597L8.293 3.29297L9.707 4.70697L5 9.41397Z" fill="#000E1A"/> </svg> diff --git a/resources/themes/cura-light/icons/low/CheckMark.svg b/resources/themes/cura-light/icons/low/CheckMark.svg deleted file mode 100644 index 9630b70052..0000000000 --- a/resources/themes/cura-light/icons/low/CheckMark.svg +++ /dev/null @@ -1,3 +0,0 @@ -<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"> -<path d="M5 9.41397L2.293 6.70697L3.707 5.29297L5 6.58597L8.293 3.29297L9.707 4.70697L5 9.41397Z" fill="#000E1A"/> -</svg> diff --git a/resources/themes/cura-light/icons/low/CheckThin.svg b/resources/themes/cura-light/icons/low/CheckThin.svg new file mode 100644 index 0000000000..a20a9b1b70 --- /dev/null +++ b/resources/themes/cura-light/icons/low/CheckThin.svg @@ -0,0 +1,3 @@ +<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> +<path d="M10.7 13.3L7.4 10L6 11.4L10.7 16.1L17.4 9.4L16 8L10.7 13.3Z"/> +</svg> diff --git a/resources/themes/cura-light/styles.qml b/resources/themes/cura-light/styles.qml index e87ec3e825..d4923cbef1 100755 --- a/resources/themes/cura-light/styles.qml +++ b/resources/themes/cura-light/styles.qml @@ -422,7 +422,7 @@ QtObject width: UM.Theme.getSize("checkbox_mark").width sourceSize.height: width color: UM.Theme.getColor("checkbox_mark") - source: control.exclusiveGroup ? UM.Theme.getIcon("Dot") : UM.Theme.getIcon("CheckMark", "low") + source: control.exclusiveGroup ? UM.Theme.getIcon("Dot") : UM.Theme.getIcon("Check", "low") opacity: control.checked Behavior on opacity { NumberAnimation { duration: 100; } } } @@ -472,7 +472,7 @@ QtObject } else { - return control.exclusiveGroup ? UM.Theme.getIcon("Dot", "low") : UM.Theme.getIcon("CheckMark", "low"); + return control.exclusiveGroup ? UM.Theme.getIcon("Dot", "low") : UM.Theme.getIcon("Check", "low"); } } opacity: control.checked |