summaryrefslogtreecommitdiff
path: root/graphics/src/render.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/render.rs')
-rw-r--r--graphics/src/render.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/render.rs b/graphics/src/render.rs
index 1d79b13..35b0ae3 100644
--- a/graphics/src/render.rs
+++ b/graphics/src/render.rs
@@ -182,7 +182,7 @@ impl Renderer {
(MAP_SIZE * self.tile_size) - (width/2),
(MAP_SIZE * self.tile_size) - (height/2),
}),
- offset: vec2! {width/2, height/2 + ui_height},
+ offset: vec2! {width/2, height/2 + ui_height/2},
rotation: 0.0,
zoom: 1.0,
}