diff options
-rw-r--r-- | backends/vkeybd/virtual-keyboard-gui.cpp | 2 | ||||
-rw-r--r-- | backends/vkeybd/vkeybd.zip | bin | 170515 -> 335613 bytes |
2 files changed, 1 insertions, 1 deletions
diff --git a/backends/vkeybd/virtual-keyboard-gui.cpp b/backends/vkeybd/virtual-keyboard-gui.cpp index 0dcea70292..1941911472 100644 --- a/backends/vkeybd/virtual-keyboard-gui.cpp +++ b/backends/vkeybd/virtual-keyboard-gui.cpp @@ -65,7 +65,7 @@ void VirtualKeyboardGUI::initMode(VirtualKeyboard::Mode *mode) { return; } _dispX = r.left; - _dispY = r.top + (_dispFont->getFontHeight() - r.height() + 1) / 2; + _dispY = r.top + (r.height() + 1 - _dispFont->getFontHeight()) / 2; _dispSurface.free(); _dispSurface.create(r.width() + 1, _dispFont->getFontHeight(), sizeof(OverlayColor)); _dispI = 0; diff --git a/backends/vkeybd/vkeybd.zip b/backends/vkeybd/vkeybd.zip Binary files differindex 5efbf4f660..e62498cc3d 100644 --- a/backends/vkeybd/vkeybd.zip +++ b/backends/vkeybd/vkeybd.zip |