mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
parent
40a68afad3
commit
61555fef7d
1 changed files with 6 additions and 1 deletions
|
@ -151,7 +151,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
color = setColor(event);
|
||||
bridgeCommand(`lastTextColor:${color}`);
|
||||
}}
|
||||
on:change={() => setTextColor()}
|
||||
on:change={() => {
|
||||
// Delay added to work around intermittent failures on macOS/Qt6.5
|
||||
setTimeout(() => {
|
||||
setTextColor();
|
||||
}, 200);
|
||||
}}
|
||||
/>
|
||||
</IconButton>
|
||||
</WithColorHelper>
|
||||
|
|
Loading…
Reference in a new issue