diff --git a/modules/game_interface/gameinterface.lua b/modules/game_interface/gameinterface.lua index f8a851ed..d2d8cfd3 100644 --- a/modules/game_interface/gameinterface.lua +++ b/modules/game_interface/gameinterface.lua @@ -674,6 +674,8 @@ function moveStackableItem(item, toPos) end g_keyboard.bindKeyPress("Up", function() check() spinbox:up() end, spinbox) g_keyboard.bindKeyPress("Down", function() check() spinbox:down() end, spinbox) + g_keyboard.bindKeyPress("Right", function() check() spinbox:up() end, spinbox) + g_keyboard.bindKeyPress("Left", function() check() spinbox:down() end, spinbox) g_keyboard.bindKeyPress("PageUp", function() check() spinbox:setValue(spinbox:getValue()+10) end, spinbox) g_keyboard.bindKeyPress("PageDown", function() check() spinbox:setValue(spinbox:getValue()-10) end, spinbox) diff --git a/modules/game_interface/styles/countwindow.otui b/modules/game_interface/styles/countwindow.otui index e5c2dbd9..15604604 100644 --- a/modules/game_interface/styles/countwindow.otui +++ b/modules/game_interface/styles/countwindow.otui @@ -6,11 +6,11 @@ CountWindow < MainWindow SpinBox id: spinBox anchors.left: parent.left - anchors.top: parent.bottom - width: 0 - height: 0 + anchors.top: parent.top + width: 1 + height: 1 phantom: true - padding-bottom: -40 + margin-top: 2 focusable: true Item