From 0b420fa427242fb4a4d4dcfff6107ddde8e8f0db Mon Sep 17 00:00:00 2001
From: Cyrix126 <58007246+Cyrix126@users.noreply.github.com>
Date: Sun, 6 Oct 2024 17:48:28 +0200
Subject: [PATCH] fix: reduce item spacing in bottom bar to prevent overlap

---
 src/app/panels/bottom.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/app/panels/bottom.rs b/src/app/panels/bottom.rs
index e8fd0ae..866bd2d 100644
--- a/src/app/panels/bottom.rs
+++ b/src/app/panels/bottom.rs
@@ -51,6 +51,7 @@ impl crate::app::App {
                     let size = vec2(0.0, height);
                     // [Gupax Version]
                     // Is yellow if the user updated and should (but isn't required to) restart.
+                    ui.spacing_mut().item_spacing = ui.spacing().item_spacing / 2.0;
                     match *lock!(self.restart) {
                         Restart::Yes => ui
                             .add_sized(