Colour vision modes (Protan, Deutan, Tritan) in Preferences > Graphics, with palettes, shader and icon colours adapted per mode, translations and tests.
This commit is contained in:
1 parent
289b521a65
commit
f6a47a49d7
30 files changed
+2077
-166
No files matched your search
@@ -0,0 +1,25 @@
|
||||
[
|
||||
{"note": "#778: Preferences › Graphics › Colour vision. A mode applies at once, Cancel puts it back, OK keeps it, Restore Defaults on Graphics resets it, and the window keeps its size."},
|
||||
{"click": {"handle": "titlebar:preferences"}},
|
||||
{"expect": {"prefs": {"dialog": "General", "color_vision": "off"}, "same_width": "prefs:window"}},
|
||||
{"widget": "Graphics"},
|
||||
{"expect": {"shown": "Colour vision", "prefs": {"dialog": "Graphics"}, "same_width": "prefs:window"}},
|
||||
{"widget": "Off"},
|
||||
{"widget": "Deutan"},
|
||||
{"expect": {"prefs": {"color_vision": "deutan"}, "same_width": "prefs:window"}},
|
||||
{"widget": "Cancel"},
|
||||
{"expect": {"prefs": {"dialog": null, "color_vision": "off"}}},
|
||||
{"key": "Comma", "cmd": true},
|
||||
{"widget": "Graphics"},
|
||||
{"widget": "Off"},
|
||||
{"widget": "Tritan"},
|
||||
{"widget": "OK"},
|
||||
{"expect": {"prefs": {"dialog": null, "color_vision": "tritan"}}},
|
||||
{"key": "Comma", "cmd": true},
|
||||
{"widget": "Graphics"},
|
||||
{"expect": {"shown": "Tritan", "same_width": "prefs:window"}},
|
||||
{"widget": "Restore Defaults"},
|
||||
{"expect": {"prefs": {"color_vision": "off"}}},
|
||||
{"widget": "OK"},
|
||||
{"expect": {"prefs": {"dialog": null, "color_vision": "off"}}}
|
||||
]
|
||||
Reference in new issue
Block a user