Fix comment

This commit is contained in:
Emil Ernerfeldt
2023-11-14 18:36:26 +01:00
parent 874556ceb1
commit 1090d2db80
+1 -1
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));