mirror of
https://github.com/BlueMap-Minecraft/BlueMapVue.git
synced 2024-11-25 19:05:11 +01:00
Add minmaxZoomDistance settings
This commit is contained in:
parent
9b137de8bd
commit
ad82eb61d2
@ -1 +1 @@
|
|||||||
Subproject commit d12c48275f168dbbf05be92c7c46667a8487f5ca
|
Subproject commit d9ffe6453fc17e8a623f4446aa164edc80949ff2
|
@ -58,6 +58,8 @@ export class BlueMapApp {
|
|||||||
* useCookies: boolean,
|
* useCookies: boolean,
|
||||||
* enableFreeFlight: boolean,
|
* enableFreeFlight: boolean,
|
||||||
* resolutionDefault: number,
|
* resolutionDefault: number,
|
||||||
|
* minZoomDistance: number,
|
||||||
|
* maxZoomDistance: number,
|
||||||
* hiresSliderMax: number,
|
* hiresSliderMax: number,
|
||||||
* hiresSliderDefault: number,
|
* hiresSliderDefault: number,
|
||||||
* hiresSliderMin: number,
|
* hiresSliderMin: number,
|
||||||
@ -121,6 +123,8 @@ export class BlueMapApp {
|
|||||||
|
|
||||||
// load settings
|
// load settings
|
||||||
await this.getSettings();
|
await this.getSettings();
|
||||||
|
this.mapControls.minDistance = this.settings.minZoomDistance;
|
||||||
|
this.mapControls.maxDistance = this.settings.maxZoomDistance;
|
||||||
this.appState.controls.enableFreeFlight = this.settings.enableFreeFlight;
|
this.appState.controls.enableFreeFlight = this.settings.enableFreeFlight;
|
||||||
|
|
||||||
// unload loaded maps
|
// unload loaded maps
|
||||||
|
Loading…
Reference in New Issue
Block a user