reduced starting map zoom level
This commit is contained in:
parent
61986d2f43
commit
e8eb7a77a1
|
@ -154,7 +154,7 @@ pub fn update_map_camera(
|
||||||
|
|
||||||
// Update zoom level
|
// Update zoom level
|
||||||
if !mapcam.initialized {
|
if !mapcam.initialized {
|
||||||
let factor = if target == player_transform { 100.0 } else { 1.0 };
|
let factor = if target == player_transform { 7.0 } else { 1.0 };
|
||||||
mapcam.target_zoom_level *= target.scale.x * factor;
|
mapcam.target_zoom_level *= target.scale.x * factor;
|
||||||
mapcam.zoom_level *= target.scale.x * factor;
|
mapcam.zoom_level *= target.scale.x * factor;
|
||||||
mapcam.initialized = true;
|
mapcam.initialized = true;
|
||||||
|
|
Loading…
Reference in a new issue