1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -04:00

Fixed the problem that cause a break in time space

This commit is contained in:
Konkitoman
2023-07-21 22:58:17 +03:00
parent 2b13572220
commit 0daafa0c0f
2 changed files with 7 additions and 4 deletions

View File

@@ -1279,9 +1279,7 @@ impl Context {
ctx.windows.retain(|_, (builder, id, parent, used)| {
let out = *used;
if ctx.current_rendering_window == *parent || ctx.current_rendering_window == *id {
// WARNING NOT IMPLEMENTED BECAUSE THE WINDOW ONLY RENDER WHEN THE CURRENT WINDOW FRAME IS BIGGER THEN THE CURRENT FRAME
// I DONT KNOW WHY
*used = true;
*used = false;
} else {
}
windows.push((*id, builder.clone()));