-
-
Notifications
You must be signed in to change notification settings - Fork 515
Commit a431456
author
committedAkos Kitta
fix: update
In Theia, the theme ID is not always in sync with the persisted
`workbench.colorTheme` preference value. For example, one can preview a
theme with the `CtrlCmd+K` + `CtrlCmd+T` key chords. On quick pick
selection change events, the theme changes, but the change is persisted
only on accept (user presses `Enter`).
IDE2 has its own way of showing and managing different settings in the
UI. When the theme is changed from outside of the IDE2's UI, the model
could get out of sync. This PR ensures that on `workbench.colorTheme`
preference change, IDE2's settings model is synchronized with persisted
Theia preferences.
Closes #1987
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>themeId settings after theme change1 parent ab5c63c commit a431456
File tree
1 file changed
+11
-0
lines changed- arduino-ide-extension/src/browser/dialogs/settings
1 file changed
+11
-0
lines changedLines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | + | ||
127 | + | ||
128 | + | ||
129 | + | ||
130 | + | ||
131 | + | ||
132 | + | ||
133 | + | ||
134 | + | ||
135 | + | ||
136 | + | ||
126 | 137 | | |
127 | 138 | | |
128 | 139 | | |
| |||
0 commit comments