mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-15 15:52:21 +00:00
Install edge scrolling and the rail styles in the shell
Co-authored-by: Sameh Khamis <[email protected]>
This commit is contained in:
1 parent
8da632cc2d
commit
85415bda97
3 files changed
+11
-1
No files matched your search
+1
-1
@@ -26,7 +26,7 @@
|
|||||||
with the sources: src/materialSymbolsSubset.test.mjs fails when a source
|
with the sources: src/materialSymbolsSubset.test.mjs fails when a source
|
||||||
names a glyph this list is missing, because a missing glyph does not draw
|
names a glyph this list is missing, because a missing glyph does not draw
|
||||||
a box — the ligature never forms and the element renders the literal word. -->
|
a box — the ligature never forms and the element renders the literal word. -->
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20,400,0,0&icon_names=adjust,arrow_drop_down,arrow_forward,arrow_left,arrow_right,bolt,bug_report,category,chevron_left,chevron_right,close,close_fullscreen,dark_mode,delete,directions_boat,draw,east,eco,egg_alt,flare,flight,handyman,layers,layers_clear,light_mode,local_fire_department,location_on,more_horiz,movie,my_location,navigation,normal,on,open_in_full,partly_cloudy_day,pause,pentagon,pest_control,pets,play_arrow,public,question_mark,radar,radio,raven,right_panel_close,right_panel_open,rocket_launch,satellite_alt,search,set_meal,settings,skip_next,skip_previous,streetview,timeline,traffic,tune,umbrella,upload_file,videocam,view_in_ar,visibility,visibility_off,water_drop,zoom_in_map" rel="stylesheet" />
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20,400,0,0&icon_names=adjust,align_horizontal_left,align_horizontal_right,arrow_drop_down,arrow_forward,arrow_left,arrow_right,bolt,bug_report,category,chevron_left,chevron_right,close,close_fullscreen,dark_mode,delete,directions_boat,draw,east,eco,egg_alt,flare,flight,handyman,layers,layers_clear,light_mode,local_fire_department,location_on,more_horiz,movie,my_location,navigation,normal,on,open_in_full,palette,partly_cloudy_day,pause,pentagon,pest_control,pets,play_arrow,public,question_mark,radar,radio,raven,right_panel_close,right_panel_open,rocket_launch,satellite_alt,search,set_meal,settings,skip_next,skip_previous,streetview,timeline,traffic,tune,umbrella,upload_file,videocam,view_in_ar,visibility,visibility_off,water_drop,zoom_in_map" rel="stylesheet" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="gev-view" data-gev-view="scene-chrome"></div>
|
<div class="gev-view" data-gev-view="scene-chrome"></div>
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ import { useHudStore } from './stores/hud.js';
|
|||||||
import { useDisplayStore } from './stores/display.js';
|
import { useDisplayStore } from './stores/display.js';
|
||||||
import { useLocaleStore } from './stores/locale.js';
|
import { useLocaleStore } from './stores/locale.js';
|
||||||
import { useLocationStore } from './stores/location.js';
|
import { useLocationStore } from './stores/location.js';
|
||||||
|
import { installRailEdgeScroll } from './railEdgeScroll.js';
|
||||||
import { useCockpitStore } from './stores/cockpit.js';
|
import { useCockpitStore } from './stores/cockpit.js';
|
||||||
import { useGlobeActionsStore } from './stores/globeActions.js';
|
import { useGlobeActionsStore } from './stores/globeActions.js';
|
||||||
import { useRecordingStore } from './stores/recording.js';
|
import { useRecordingStore } from './stores/recording.js';
|
||||||
@@ -164,6 +165,8 @@ export class StyleManager extends ShellFacade {
|
|||||||
});
|
});
|
||||||
// Vue views share this runtime and its stores; dispose unmounts them.
|
// Vue views share this runtime and its stores; dispose unmounts them.
|
||||||
this._ui = createUiRuntime({ pinia: applicationPinia() });
|
this._ui = createUiRuntime({ pinia: applicationPinia() });
|
||||||
|
// Scrolling at a screen edge steps through that side's rail panels.
|
||||||
|
this._removeRailEdgeScroll = installRailEdgeScroll();
|
||||||
this._feedback = new ShellFeedback({
|
this._feedback = new ShellFeedback({
|
||||||
readLayers: () => withPlacePacks(this._dataManager?.getAll?.() || []),
|
readLayers: () => withPlacePacks(this._dataManager?.getAll?.() || []),
|
||||||
});
|
});
|
||||||
@@ -1856,6 +1859,7 @@ export class StyleManager extends ShellFacade {
|
|||||||
const { destroyTrackedReadout, destroyWorldOverlay, destroyDetection } =
|
const { destroyTrackedReadout, destroyWorldOverlay, destroyDetection } =
|
||||||
this.services;
|
this.services;
|
||||||
if (this._disposed) return;
|
if (this._disposed) return;
|
||||||
|
this._removeRailEdgeScroll?.();
|
||||||
this._shareRestoration.destroy();
|
this._shareRestoration.destroy();
|
||||||
this._feedback.clearLoadingStatus();
|
this._feedback.clearLoadingStatus();
|
||||||
this._disposed = true;
|
this._disposed = true;
|
||||||
|
|||||||
@@ -45,5 +45,11 @@
|
|||||||
@import './src/ui/styles/rtl.css';
|
@import './src/ui/styles/rtl.css';
|
||||||
@import './src/ui/styles/mobile-shell.css';
|
@import './src/ui/styles/mobile-shell.css';
|
||||||
@import './src/ui/styles/annotations.css';
|
@import './src/ui/styles/annotations.css';
|
||||||
|
@import './src/ui/styles/credits.css';
|
||||||
|
@import './src/ui/styles/shell-spacing.css';
|
||||||
|
@import './src/ui/styles/rail-edge.css';
|
||||||
|
@import './src/ui/styles/rail-split.css';
|
||||||
|
@import './src/ui/styles/left-tools.css';
|
||||||
|
@import './src/ui/styles/panel-edge.css';
|
||||||
@import './src/ui/styles/ai-chat.css';
|
@import './src/ui/styles/ai-chat.css';
|
||||||
@import './src/ui/styles/cyber.css';
|
@import './src/ui/styles/cyber.css';
|
||||||
Reference in new issue
Block a user