fix: reduce item spacing in bottom bar to prevent overlap

This commit is contained in:
Cyrix126 2024-10-06 17:48:28 +02:00
parent 425919b792
commit 29a0182102

View file

@ -51,6 +51,7 @@ impl crate::app::App {
let size = vec2(0.0, height); let size = vec2(0.0, height);
// [Gupax Version] // [Gupax Version]
// Is yellow if the user updated and should (but isn't required to) restart. // 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) { match *lock!(self.restart) {
Restart::Yes => ui Restart::Yes => ui
.add_sized( .add_sized(