mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Enable the 'none' option in ColorSelect for cell and header text styles
Test Plan: Added a test case Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D4120
This commit is contained in:
@@ -324,7 +324,7 @@ class PickerComponent extends Disposable {
|
||||
)
|
||||
),
|
||||
cssEmptyBox(
|
||||
cssEmptyBox.cls('-selected', (use) => !use(this._colorCss)),
|
||||
cssEmptyBox.cls('-selected', (use) => !use(this._colorHex)),
|
||||
dom.on('click', () => this._setValue(undefined)),
|
||||
dom.hide(!this._options.allowsNone),
|
||||
cssNoneIcon('Empty'),
|
||||
|
||||
Reference in New Issue
Block a user