From f7a30eaa7b5e80a49d9304d9da54da1925dee16a Mon Sep 17 00:00:00 2001 From: grimsace Date: Wed, 6 May 2026 10:54:12 -0500 Subject: [PATCH] fixed walls not appearing when rooms are next to each other and doubled door thickness --- src/exporter.rs | 8 ++++---- src/main.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/exporter.rs b/src/exporter.rs index 7332823..e4a0c28 100644 --- a/src/exporter.rs +++ b/src/exporter.rs @@ -255,7 +255,7 @@ fn render_pixmap(layout: &DungeonLayout, settings: &UiSettings) -> Result (u32, u32) { pub fn build_svg(layout: &DungeonLayout, settings: &UiSettings) -> String { let g = ExportGeometry::new(settings.cols, settings.rows); let wall_w = (g.cell / 2.5).max(1.0); - let door_w = (g.cell / 10.0).max(1.0); + let door_w = (g.cell / 5.0).max(1.0); let mut s = String::new(); let _ = writeln!( diff --git a/src/main.rs b/src/main.rs index 712ea4c..f85cafa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2433,7 +2433,7 @@ fn draw_layout( hover_stair_idx: Option, ) { let wall_width_px = (geometry.cell_size / 2.5).max(1.0); - let door_width_px = (geometry.cell_size / 10.0).max(1.0); + let door_width_px = (geometry.cell_size / 5.0).max(1.0); let room_fill = Color32::from_rgb(70, 120, 160); let corridor_fill = Color32::from_rgb(210, 190, 120);