git.lucas.co / cce-fonts
font browser

commit85601c40db78b5a3b1d7c0d9693e4439cc0f1a23
parenta0447114c2
authorLucas Galante <[email protected]>
date2026-06-28 06:59
Draw bottom border for selection bottom bar box in dialog mode

 src/main.rs | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/main.rs b/src/main.rs
index e2df575..f27afa7 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -900,10 +900,11 @@ impl Application for TypefaceApp {
 
         if self.select_mode {
             let bar_y = h_f32 - select_bar_h - 10.0;
-            // Draw bottom bar separator and side borders
+            // Draw bottom bar separator, side borders, and bottom border
             quads.push((left_panel_x, bar_y, w_f32 - 20.0, 1.0, border_col));
-            quads.push((left_panel_x, bar_y, 1.0, 48.0, border_col));
-            quads.push((w_f32 - 10.0, bar_y, 1.0, 48.0, border_col));
+            quads.push((left_panel_x, bar_y, 1.0, select_bar_h, border_col));
+            quads.push((w_f32 - 10.0, bar_y, 1.0, select_bar_h, border_col));
+            quads.push((left_panel_x, bar_y + select_bar_h, w_f32 - 20.0, 1.0, border_col));
         }
     }