mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Disable color picker buttons when a field is not focused
This commit is contained in:
parent
968bd1b27a
commit
2778398812
1 changed files with 1 additions and 6 deletions
|
@ -51,7 +51,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
tr.editingChangeColor(),
|
tr.editingChangeColor(),
|
||||||
shortcutLabel
|
shortcutLabel
|
||||||
)}
|
)}
|
||||||
disables={false}
|
|
||||||
widthMultiplier={0.5}
|
widthMultiplier={0.5}
|
||||||
>
|
>
|
||||||
{@html arrowIcon}
|
{@html arrowIcon}
|
||||||
|
@ -70,11 +69,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
</ButtonGroupItem>
|
</ButtonGroupItem>
|
||||||
|
|
||||||
<ButtonGroupItem>
|
<ButtonGroupItem>
|
||||||
<IconButton
|
<IconButton tooltip={tr.editingChangeColor()} widthMultiplier={0.5}>
|
||||||
tooltip={tr.editingChangeColor()}
|
|
||||||
disables={false}
|
|
||||||
widthMultiplier={0.5}
|
|
||||||
>
|
|
||||||
{@html arrowIcon}
|
{@html arrowIcon}
|
||||||
<ColorPicker on:change={setColor} />
|
<ColorPicker on:change={setColor} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
|
Loading…
Reference in a new issue