mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
feat(ui): render the active style in the dock and the ACTIVE STYLE corner from the store
VisualSettings no longer toggles the style buttons' active class or writes the dock's style mini status and the ACTIVE STYLE corner. It publishes the active style and its label to the gev-display store; CommandDockView and SceneChromeView render them. The buttons keep their owner's listeners, and the initial label renders through t().
This commit is contained in:
1 parent
66a60ff67e
commit
decac29fbd
11 files changed
+146
-39
No files matched your search
@@ -213,8 +213,6 @@ export class StyleManager extends ShellFacade {
|
||||
_ppToggles: this._ppToggles,
|
||||
_sliderContainer: this._sliderContainer,
|
||||
_sliderPanel: this._sliderPanel,
|
||||
_styleIndicator: this._styleIndicator,
|
||||
_styleMiniValue: this._styleMiniValue,
|
||||
},
|
||||
operations: {
|
||||
_restorePanelState: (...args) => this._restorePanelState(...args),
|
||||
@@ -586,7 +584,7 @@ export class StyleManager extends ShellFacade {
|
||||
this._initRecordingOverlay();
|
||||
this._startAnimationLoop();
|
||||
this._startTrafficChipTicker();
|
||||
this._updateStyleMiniStatus();
|
||||
this._publishActiveStyle();
|
||||
this._updateLocationMiniStatus();
|
||||
|
||||
this._shareRestoration.start();
|
||||
|
||||
Reference in new issue
Block a user