mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 22:30:03 -04:00
Fix warning
This commit is contained in:
@@ -797,7 +797,7 @@ impl Context {
|
|||||||
|
|
||||||
self.write(|ctx| {
|
self.write(|ctx| {
|
||||||
if let Some(l) = ctx.layer_rects_this_frame.get_mut(&ctx.viewport_id()) {
|
if let Some(l) = ctx.layer_rects_this_frame.get_mut(&ctx.viewport_id()) {
|
||||||
l.entry(layer_id).or_default().push((id, interact_rect))
|
l.entry(layer_id).or_default().push((id, interact_rect));
|
||||||
}
|
}
|
||||||
|
|
||||||
if hovered {
|
if hovered {
|
||||||
|
|||||||
Reference in New Issue
Block a user