mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 15:13:12 -04:00
Fix comment
This commit is contained in:
@@ -1585,8 +1585,8 @@ impl Context {
|
||||
});
|
||||
|
||||
if is_last {
|
||||
// Context Cleanup
|
||||
self.write(|ctx| {
|
||||
// Remove dead viewports:
|
||||
ctx.input.retain(|id, _| all_viewport_ids.contains(id));
|
||||
ctx.layer_rects_prev_frame
|
||||
.retain(|id, _| all_viewport_ids.contains(id));
|
||||
|
||||
Reference in New Issue
Block a user