do not drag out of UI bar
This commit is contained in:
parent
372bd9aa58
commit
6075ddbc59
@ -35,6 +35,11 @@ function _update60()
|
||||
return
|
||||
end
|
||||
|
||||
-- ignore drag off ui
|
||||
if was_click and segment == nil then
|
||||
return
|
||||
end
|
||||
|
||||
-- mouse down
|
||||
local mouse_x = stat(32)
|
||||
local mouse_y = stat(33)
|
||||
|
Loading…
Reference in New Issue
Block a user