Skip to content

Commit

Permalink
Add some padding to KeyMapButton::display()
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Nov 4, 2023
1 parent 5040443 commit 9b44fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keyedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9b44fe5

Please sign in to comment.