forked from Blendman974/faceclaw
iOS TTF support; voice input
This commit is contained in:
1 parent
ae14edcb59
commit
b07ae0b479
67 files changed
+15717
-55
No files matched your search
@@ -59,9 +59,14 @@ export function onAnySettingChanged(listener: () => void): () => void {
|
||||
}
|
||||
|
||||
onSettingsStoreChanged(() => {
|
||||
for (const listener of Array.from(settingChangeListeners)) {
|
||||
listener();
|
||||
}
|
||||
// Font/cache invalidation listeners may register after this relay. Let the
|
||||
// entire store notification finish before observers synchronously repaint.
|
||||
// Otherwise Save updates the label but paints the previous typeface once.
|
||||
setTimeout(() => {
|
||||
for (const listener of Array.from(settingChangeListeners)) {
|
||||
listener();
|
||||
}
|
||||
}, 0);
|
||||
});
|
||||
|
||||
export abstract class ConfigSetting<TValue, TId extends string = string> {
|
||||
|
||||
Reference in new issue
Block a user