Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Nov 14, 2023
1 parent 874556c commit 1090d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 1090d2d

Please sign in to comment.