fix: Remove unnecessary touch padding
This commit is contained in:
parent
84999d5c06
commit
0785270dfa
@ -284,12 +284,10 @@ namespace hex::plugin::builtin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void defineMenu(const UnlocalizedString &menuName) {
|
void defineMenu(const UnlocalizedString &menuName) {
|
||||||
ImGui::GetStyle().TouchExtraPadding = scaled(ImVec2(0, 2));
|
|
||||||
if (ImGui::BeginMenu(Lang(menuName))) {
|
if (ImGui::BeginMenu(Lang(menuName))) {
|
||||||
populateMenu(menuName);
|
populateMenu(menuName);
|
||||||
ImGui::EndMenu();
|
ImGui::EndMenu();
|
||||||
}
|
}
|
||||||
ImGui::GetStyle().TouchExtraPadding = ImVec2(0, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void drawMenu() {
|
void drawMenu() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user