Countwindow Fix [YAH]
Fixed typing amount in count window. Should be hidden again.
This commit is contained in:
parent
cc12db0d1f
commit
d427560b98
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue