修复右侧c/s/a+方向键不能触发控件功能 close #492
This commit is contained in:
@@ -1387,7 +1387,7 @@ function WIDGET.keyPressed(k,isRep)
|
|||||||
WIDGET.press()
|
WIDGET.press()
|
||||||
end
|
end
|
||||||
elseif k=="up"or k=="down"or k=="left"or k=="right"then
|
elseif k=="up"or k=="down"or k=="left"or k=="right"then
|
||||||
if kb.isDown("lshift","lalt","lctrl")then
|
if kb.isDown("lshift","lalt","lctrl","rshift","ralt","rctrl")then
|
||||||
--Control some widgets with arrowkeys when hold shift/ctrl/alt
|
--Control some widgets with arrowkeys when hold shift/ctrl/alt
|
||||||
if W and W.arrowKey then W:arrowKey(k)end
|
if W and W.arrowKey then W:arrowKey(k)end
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user