1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -04:00

Highlight submenu buttons when hovered and open (#3780)

Submenu buttons in menues now properly highlight when hovered and when
opened.

…plus a bunch of other cleanup
This commit is contained in:
Emil Ernerfeldt
2024-01-07 22:08:32 +01:00
committed by GitHub
parent 327f599407
commit 8c30e8c5f7
13 changed files with 62 additions and 57 deletions

View File

@@ -1087,7 +1087,7 @@ impl<'a> TableBody<'a> {
if is_row_hovered {
self.layout
.ui
.memory_mut(|w| w.data.insert_temp(self.hovered_row_index_id, row_index));
.data_mut(|data| data.insert_temp(self.hovered_row_index_id, row_index));
}
}
}