fix: Main Menu items not being clickable at the outer most pixel
Closes #1020
This commit is contained in:
parent
80edaea392
commit
ac858b37ed
@ -408,9 +408,11 @@ namespace hex {
|
||||
}
|
||||
|
||||
for (const auto &[priority, menuItem] : ContentRegistry::Interface::impl::getMainMenuItems()) {
|
||||
ImGui::GetStyle().TouchExtraPadding = scaled(ImVec2(0, 2));
|
||||
if (ImGui::BeginMenu(LangEntry(menuItem.unlocalizedName))) {
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
ImGui::GetStyle().TouchExtraPadding = ImVec2(0, 0);
|
||||
}
|
||||
|
||||
for (auto &[priority, menuItem] : ContentRegistry::Interface::impl::getMenuItems()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user