mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
28 lines
901 B
Diff
28 lines
901 B
Diff
--- src/main.rs.old 2024-04-14 17:28:52
|
|
+++ src/main.rs 2024-04-14 18:44:56
|
|
@@ -503,20 +503,10 @@
|
|
}
|
|
|
|
fn main() {
|
|
- let options = eframe::NativeOptions::default();
|
|
- // let options = eframe::NativeOptions {
|
|
- // decorated: true,
|
|
- // follow_system_theme: true,
|
|
- // icon_data: Some(eframe::IconData {
|
|
- // rgba: (ICON.to_vec()),
|
|
- // width: (32),
|
|
- // height: (32),
|
|
- // }),
|
|
- // resizable: true,
|
|
- // initial_window_size: Some(emath::Vec2 { x: 780., y: 680. }),
|
|
- // min_window_size: Some(emath::Vec2 { x: 780., y: 280. }),
|
|
- // ..Default::default()
|
|
- // };
|
|
+ let options = eframe::NativeOptions {
|
|
+ viewport: egui::ViewportBuilder::default().with_icon(egui::IconData::default()),
|
|
+ ..Default::default()
|
|
+ };
|
|
match eframe::run_native(
|
|
"PineFlash",
|
|
options,
|