mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +00:00
No Button Right Click
This commit is contained in:
parent
773321041c
commit
bb5a21b39b
@ -111,8 +111,10 @@ function newobject:mousepressed(x, y, button)
|
||||
if baseparent and baseparent.type == "frame" then
|
||||
baseparent:MakeTop()
|
||||
end
|
||||
self.down = true
|
||||
loveframes.downobject = self
|
||||
if button == 1 then
|
||||
self.down = true
|
||||
loveframes.downobject = self
|
||||
end
|
||||
end
|
||||
|
||||
self.pressed_button = button
|
||||
|
Loading…
Reference in New Issue
Block a user