Merge pull request #1228 from hikaru-y/fix-color-picker-buttons

Disable color picker buttons when a field is not focused
This commit is contained in:
Damien Elmes 2021-06-14 10:30:19 +10:00 committed by GitHub
commit 621684a1d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View file

@ -81,6 +81,7 @@ Ryan Greenblatt <greenblattryan@gmail.com>
Matthias Metelka <github.com/kleinerpirat>
qubist-pixel-ux <github.com/qubist-pixel-ux>
cherryblossom <github.com/cherryblossom000>
Hikaru Yoshiga <github.com/hikaru-y>
********************

View file

@ -51,7 +51,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
tr.editingChangeColor(),
shortcutLabel
)}
disables={false}
widthMultiplier={0.5}
>
{@html arrowIcon}
@ -70,11 +69,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</ButtonGroupItem>
<ButtonGroupItem>
<IconButton
tooltip={tr.editingChangeColor()}
disables={false}
widthMultiplier={0.5}
>
<IconButton tooltip={tr.editingChangeColor()} widthMultiplier={0.5}>
{@html arrowIcon}
<ColorPicker on:change={setColor} />
</IconButton>