1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 15:13:12 -04:00

Fix comment

This commit is contained in:
Emil Ernerfeldt
2023-11-14 18:36:26 +01:00
parent 874556ceb1
commit 1090d2db80

View File

@@ -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));