diff --git a/src/exporter.rs b/src/exporter.rs index 4d16eca..43b5270 100644 --- a/src/exporter.rs +++ b/src/exporter.rs @@ -14,8 +14,8 @@ const GRID: (u8, u8, u8, u8) = (130, 130, 130, 255); const ROOM: (u8, u8, u8, u8) = (70, 120, 160, 255); const CORRIDOR: (u8, u8, u8, u8) = (210, 190, 120, 255); const BLACK: (u8, u8, u8, u8) = (0, 0, 0, 255); -const OPEN_DOOR: (u8, u8, u8, u8) = (220, 70, 70, 255); -const LOCKED_DOOR: (u8, u8, u8, u8) = (80, 200, 120, 255); +const OPEN_DOOR: (u8, u8, u8, u8) = (80, 200, 120, 255); +const LOCKED_DOOR: (u8, u8, u8, u8) = (220, 70, 70, 255); const ARCHWAY: (u8, u8, u8, u8) = (70, 130, 220, 255); const WHITE: (u8, u8, u8, u8) = (255, 255, 255, 255); diff --git a/src/main.rs b/src/main.rs index a43316d..79a929a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -140,8 +140,8 @@ impl eframe::App for DungeonApp { draw_legend_entry(ui, Color32::from_rgb(70, 120, 160), "Rooms"); draw_legend_entry(ui, Color32::from_rgb(210, 190, 120), "Corridors"); draw_legend_entry(ui, Color32::BLACK, "Walls"); - draw_legend_entry(ui, Color32::from_rgb(220, 70, 70), "Doors"); - draw_legend_entry(ui, Color32::from_rgb(80, 200, 120), "Locked Doors"); + draw_legend_entry(ui, Color32::from_rgb(80, 200, 120), "Doors"); + draw_legend_entry(ui, Color32::from_rgb(220, 70, 70), "Locked Doors"); draw_legend_entry(ui, Color32::from_rgb(70, 130, 220), "Archways"); } }); @@ -618,9 +618,9 @@ fn draw_layout( } else if door.archway { Color32::from_rgb(70, 130, 220) } else if door.locked { - Color32::from_rgb(80, 200, 120) - } else { Color32::from_rgb(220, 70, 70) + } else { + Color32::from_rgb(80, 200, 120) }; let style = if colorblind_mode { if door.archway {