Customizable ColorPicker (#2202)

* Added spinbox, refactored colorpicker

* Added add preset functionality

* Added delete preset

* Refactored code

* Fix
This commit is contained in:
Dearsh Oberoi
2022-01-31 00:33:07 +05:30
committed by GitHub
parent 1cc5a26292
commit 259e438f96
19 changed files with 563 additions and 142 deletions

View File

@@ -7,7 +7,7 @@
;; The colors are arranged counter-clockwise with the first being set to the right of the cursor
;; Colors are any valid hex code or W3C color name
;; "picker" adds a custom color picker
;userColors=#800000, #ff0000, #ffff00, #00ff00, #008000, #00ffff, #0000ff, #ff00ff, #800080, picker
;userColors=picker, #800000, #ff0000, #ffff00, #00ff00, #008000, #00ffff, #0000ff, #ff00ff, #800080
;
;; Image Save Path
;savePath=/tmp
@@ -84,6 +84,9 @@
;; Upload to imgur without confirmation (bool)
;uploadWithoutConfirmation=false
;
;; Use larger color palette as the default one
; predefinedColorPaletteLarge=false
;
;; Shortcut Settings for all tools
;[Shortcuts]
;TYPE_ARROW=A