Open GeneralBombe opened 4 months ago
When you have clear_color()
, try using frame
in the following form:
let mut panel_frame = egui::Frame {
fill: ctx.style().visuals.window_fill(),
..Default::default()
};
OR
let mut panel_frame = egui::Frame {
fill: egui::Color32::TRANSPARENT,
..Default::default()
};
Try various tests.
Me too, AMD,It wasn't transparent when I was full screen,It became transparent when I moved the window
Me too, AMD,It wasn't transparent when I was full screen,It became transparent when I moved the window
I'll try it again later with new egui version. Haven't touched this issue in quite some time, as I had a similar issue with other window/OpenGl crates. Did you move it with the mouse or from the code?
When I use with_fullscreen, the background is black, and then when I drag the window with the mouse, it becomes transparent. If I set it manually .with_position([1., 0.]) with_inner_size([3840.0, 2160.0]) then transparency is also available My operating system is win11
This is if the window starts on the second monitor:
This is on main screen:
However if i dray the window from second screen to main screen, it works. This is the code i use:
I really dont understand what is happening ...
I am using a AMD RX 7000 Gpu.