mirror of
https://gitlab.cs.fau.de/ik15ydit/latexandmore.git
synced 2024-11-22 03:49:31 +01:00
fixed from alt to ctrl
This commit is contained in:
parent
77b8c65180
commit
3565b1c745
@ -22,10 +22,11 @@ function widget:CommandNotify(cmdID, cmdParams, cmdOptions)
|
|||||||
local medium = {}
|
local medium = {}
|
||||||
local high = {}
|
local high = {}
|
||||||
local deselect = 0
|
local deselect = 0
|
||||||
local a = Spring.GetModKeyState() --alt ctrl ? shift , discard all but alt
|
|
||||||
--do nothing if CTRL is pressed
|
--do nothing if CTRL is pressed
|
||||||
Spring.Echo(Spring.GetModKeyState())
|
local a,b,c,d = Spring.GetModKeyState() --alt ctrl ? shift , discard all but alt
|
||||||
if a then return end
|
--Spring.Echo(Spring.GetModKeyState())
|
||||||
|
|
||||||
|
if b then return end
|
||||||
--iterate Selection
|
--iterate Selection
|
||||||
for i=1,200 do
|
for i=1,200 do
|
||||||
if selected[i] == nil then break end
|
if selected[i] == nil then break end
|
||||||
|
Loading…
Reference in New Issue
Block a user