mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Make import button a bit smaller
This commit is contained in:
+1
-1
@@ -172,7 +172,7 @@ impl epi::App for MyEguiApp {
|
|||||||
|
|
||||||
let texture = self.get_import_image(ui);
|
let texture = self.get_import_image(ui);
|
||||||
let size = texture.size_vec2();
|
let size = texture.size_vec2();
|
||||||
let image_button = ImageButton::new(texture, size);
|
let image_button = ImageButton::new(texture, size * 0.5);
|
||||||
if ui.add(image_button).on_hover_text("Import your games into steam").clicked() {
|
if ui.add(image_button).on_hover_text("Import your games into steam").clicked() {
|
||||||
self.run_sync();
|
self.run_sync();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user