1
0
mirror of synced 2024-09-24 03:28:24 +02:00

fix: Remove unnecessary touch padding

This commit is contained in:
WerWolv 2024-07-04 21:18:46 +02:00
parent 84999d5c06
commit 0785270dfa

View File

@ -284,12 +284,10 @@ namespace hex::plugin::builtin {
}
void defineMenu(const UnlocalizedString &menuName) {
ImGui::GetStyle().TouchExtraPadding = scaled(ImVec2(0, 2));
if (ImGui::BeginMenu(Lang(menuName))) {
populateMenu(menuName);
ImGui::EndMenu();
}
ImGui::GetStyle().TouchExtraPadding = ImVec2(0, 0);
}
void drawMenu() {