1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 05:10:03 -04:00
This commit is contained in:
Konkitoman
2023-09-01 12:09:01 +03:00
parent 661120dc1d
commit 4eb32c6ccf
10 changed files with 22 additions and 37 deletions

View File

@@ -203,7 +203,7 @@ pub trait App {
// NOTE: a bright gray makes the shadows of the windows look weird.
// We use a bit of transparency so that if the user switches on the
// `transparent()` option they get immediate results.
egui::Color32::from_rgba_unmultiplied(12, 12, 12, 0).to_normalized_gamma_f32()
egui::Color32::from_rgba_unmultiplied(12, 12, 12, 180).to_normalized_gamma_f32()
// _visuals.window_fill() would also be a natural choice
}
@@ -499,7 +499,7 @@ impl Default for NativeOptions {
min_window_size: None,
max_window_size: None,
resizable: true,
transparent: true,
transparent: false,
mouse_passthrough: false,
active: true,
@@ -766,9 +766,6 @@ impl Frame {
self.info.clone()
}
/// If this is the main window will return true!
/// When is a single window mode will always return true!
/// A place where you can store custom data in a way that persists when you restart the app.
pub fn storage(&self) -> Option<&dyn Storage> {
self.storage.as_deref()