mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Set a default icon for all eframe apps: a white e on black background (#2996)
As a user you can change this by setting `NativeOptions::icon_data`. Set it to `None` to get the default icon assigned by the OS.
This commit is contained in:
@@ -22,11 +22,6 @@ fn main() -> Result<(), eframe::Error> {
|
||||
|
||||
initial_window_size: Some([1280.0, 1024.0].into()),
|
||||
|
||||
icon_data: Some(
|
||||
eframe::IconData::try_from_png_bytes(&include_bytes!("../../../media/icon.png")[..])
|
||||
.unwrap(),
|
||||
),
|
||||
|
||||
#[cfg(feature = "wgpu")]
|
||||
renderer: eframe::Renderer::Wgpu,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user