summaryrefslogtreecommitdiff
path: root/graphics/src
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src')
-rw-r--r--graphics/src/render.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/src/render.rs b/graphics/src/render.rs
index 408d51c..28631b2 100644
--- a/graphics/src/render.rs
+++ b/graphics/src/render.rs
@@ -183,6 +183,9 @@ impl Renderer {
RENDER_HEIGHT as u32,
)?;
+ // update window min size
+ handle.set_window_min_size(RENDER_WIDTH.into(), RENDER_HEIGHT.into());
+
Ok(Self {
textures,
tilemap_fg,