控件系统更强大,自定义序列支持tab切换模式

This commit is contained in:
MrZ626
2020-11-15 22:12:36 +08:00
parent b5af572d93
commit c96b1f6106
2 changed files with 120 additions and 90 deletions

View File

@@ -71,6 +71,13 @@ function keyDown.custom_sequence(key)
else
S.sure=50
end
elseif key=="tab"then
local W=WIDGET.active.sequence
if kb.isDown("lshift","rshift")then
W:press(W.x)
else
W:press(W.x+W.w)
end
elseif key=="c"and kb.isDown("lctrl","rctrl")or key=="cC"then
if #BAG>0 then
sys.setClipboardText("Techmino SEQ:"..copySequence())