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