From 9b44fe55a61ac05838e77efb445a21981aa4f756 Mon Sep 17 00:00:00 2001 From: past-due <30942300+past-due@users.noreply.github.com> Date: Sat, 4 Nov 2023 15:30:54 -0400 Subject: [PATCH] Add some padding to KeyMapButton::display() --- src/keyedit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyedit.cpp b/src/keyedit.cpp index 3b72c68e234..575cbf5b4d7 100644 --- a/src/keyedit.cpp +++ b/src/keyedit.cpp @@ -299,7 +299,7 @@ class KeyMapButton : public W_BUTTON } wzBindingText.setText(WzString::fromUtf8(sPrimaryKey), iV_fonts::font_regular); - wzBindingText.render(xPos, yPos + (h / 2) + 3, bindingTextColor); + wzBindingText.render(xPos + 2, yPos + (h / 2) + 3, bindingTextColor); } private: