修复右侧c/s/a+方向键不能触发控件功能 close #492

This commit is contained in:
MrZ626
2021-11-27 14:33:36 +08:00
parent 72a826ef0a
commit e61b9b23a0

View File

@@ -1387,7 +1387,7 @@ function WIDGET.keyPressed(k,isRep)
WIDGET.press()
end
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
if W and W.arrowKey then W:arrowKey(k)end
else