summaryrefslogtreecommitdiff
path: root/src/game/interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/interface.cpp')
-rw-r--r--src/game/interface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/interface.cpp b/src/game/interface.cpp
index c89cdad..854b620 100644
--- a/src/game/interface.cpp
+++ b/src/game/interface.cpp
@@ -29,7 +29,7 @@ void state_t::tick(double dt)
{
float view_scale;
- view_scale = 3 * exp(camera.zoom * 0.3);
+ view_scale = 3 * exp(camera.zoom * 0.12);
if (size.x > size.y) {
view_size.y = view_scale;
view_size.x = view_scale * size.x / size.y;
@@ -94,8 +94,8 @@ void state_t::tick(double dt)
camera.target_zoom -= event.mouseWheelScroll.delta;
if (camera.target_zoom < 0)
camera.target_zoom = 0;
- if (camera.target_zoom > 11)
- camera.target_zoom = 11;
+ if (camera.target_zoom > 17)
+ camera.target_zoom = 17;
break;
case sf::Event::KeyPressed: