mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-15 15:52:21 +00:00
refactor(cockpit): a provider words its text with getLocale and onLocaleChange from the ./i18n entry; the ./i18n/locale export, which gave only those two, is removed
This commit is contained in:
1 parent
a7d722a1f4
commit
22f43aab01
8 files changed
+17
-51
No files matched your search
@@ -1,12 +1,12 @@
|
||||
- Let an application add its own Cockpit subjects through
|
||||
`services.cockpitSubjects`. A provider supplies the subject's position,
|
||||
heading and HUD (in the page's language, via the new `./i18n/locale`
|
||||
export); the camera can follow it without the ground clamp, anchored
|
||||
exactly on it, and a generic HUD adds source rows, a banner, a veil (off
|
||||
under reduced motion) and a bottom progress line. The Rail and Transit
|
||||
layers expose read and hold APIs so a selected train or vehicle can be
|
||||
ridden, and `./layers/rail/paths` is exported; these exports and read APIs
|
||||
are experimental. `docs/APPLICATION.md` shows a minimal provider. GEV
|
||||
itself registers none, and entry to the built-in aircraft, satellite and
|
||||
vessel views is unchanged; a provider's subject takes entry when it was
|
||||
selected after them (Denis Groshev, @ZloyS, #1686).
|
||||
heading and HUD (in the page's language, via `getLocale` and
|
||||
`onLocaleChange` from `./i18n`); the camera can follow it without the
|
||||
ground clamp, anchored exactly on it, and a generic HUD adds source rows, a
|
||||
banner, a veil (off under reduced motion) and a bottom progress line. The
|
||||
Rail and Transit layers expose read and hold APIs so a selected train or
|
||||
vehicle can be ridden, and `./layers/rail/paths` is exported; that export
|
||||
and the read APIs are experimental. `docs/APPLICATION.md` shows a minimal
|
||||
provider. GEV itself registers none, and entry to the built-in aircraft,
|
||||
satellite and vessel views is unchanged; a provider's subject takes entry
|
||||
when it was selected after them (Denis Groshev, @ZloyS, #1686).
|
||||
Reference in new issue
Block a user