mirror of
https://github.com/BlueMap-Minecraft/BlueMapVue.git
synced 2024-11-22 01:25: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,
|
||||
* enableFreeFlight: boolean,
|
||||
* resolutionDefault: number,
|
||||
* minZoomDistance: number,
|
||||
* maxZoomDistance: number,
|
||||
* hiresSliderMax: number,
|
||||
* hiresSliderDefault: number,
|
||||
* hiresSliderMin: number,
|
||||
@ -121,6 +123,8 @@ export class BlueMapApp {
|
||||
|
||||
// load settings
|
||||
await this.getSettings();
|
||||
this.mapControls.minDistance = this.settings.minZoomDistance;
|
||||
this.mapControls.maxDistance = this.settings.maxZoomDistance;
|
||||
this.appState.controls.enableFreeFlight = this.settings.enableFreeFlight;
|
||||
|
||||
// unload loaded maps
|
||||
|
Loading…
Reference in New Issue
Block a user