Commit ce5df54
committed
fix: Status bar cursor position updates when workspace is first opened
The cursor position label in the status bar was not updating until the
first tab switch because it only subscribed to tabBarTabIdSubject (which
fires on tab changes) and onAppear (which may fire before a tab is
selected during workspace restoration).
Added an additional observer on editorManager.$activeEditor so the
label updates whenever the active editor changes, including on initial
workspace open.
Fixes #17291 parent 74d1c3b commit ce5df54
File tree
1 file changed
+3
-0
lines changed- CodeEdit/Features/StatusBar/Views/StatusBarItems
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
0 commit comments