We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b01d90a commit 9d8b343Copy full SHA for 9d8b343
src/renderer/app/events.cljs
@@ -89,10 +89,10 @@
89
(assoc :loading false))
90
:fx (into
91
[[:dispatch [::theme.events/set-document-attr]]
92
+ [:dispatch ^:flush-dom [::set-lang-attrs]]
93
[:dispatch ^:flush-dom [::set-lang-attrs]]
94
;; We need to render once to get the canvas size right.
- [:dispatch-later ^:flush-dom {:ms 100
95
- :dispatch [::window.events/update-focused]}]
+ [:dispatch ^:flush-dom [::window.events/update-focused]]
96
[::theme.effects/add-native-listener [::theme.events/set-document-attr]]
97
[::effects/ipc-send ["initialized"]]]
98
(map (partial vector ::effects/add-listener) document-listeners))}))
0 commit comments