You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/egui/src/viewport.rs
+24-1
Original file line number
Diff line number
Diff line change
@@ -294,6 +294,7 @@ pub struct ViewportBuilder {
294
294
pubtitle_shown:Option<bool>,
295
295
pubtitlebar_buttons_shown:Option<bool>,
296
296
pubtitlebar_shown:Option<bool>,
297
+
pubhas_shadow:Option<bool>,
297
298
298
299
// windows:
299
300
pubdrag_and_drop:Option<bool>,
@@ -380,6 +381,10 @@ impl ViewportBuilder {
380
381
/// The default is `false`.
381
382
/// If this is not working, it's because the graphic context doesn't support transparency,
382
383
/// you will need to set the transparency in the eframe!
384
+
///
385
+
/// ## Platform-specific
386
+
///
387
+
/// **macOS:** When using this feature to create an overlay-like UI, you likely want to combine this with [`Self::with_has_shadow`] set to `false` in order to avoid ghosting artifacts.
0 commit comments