make label text not selectable

This commit is contained in:
2025-04-10 07:48:58 +01:00
parent 62efe3f411
commit 7f795ba52e
+4 -1
View File
@@ -91,7 +91,10 @@ impl eframe::App for App {
self.launch.selected = persistent_state.launcher;
}
}
ctx.style_mut(|style| style.spacing.item_spacing = egui::vec2(4.0, 4.0));
ctx.style_mut(|style| {
style.spacing.item_spacing = egui::vec2(4.0, 4.0);
style.interaction.selectable_labels = false;
});
self.initialized = true;
}
self.run_timers();