mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +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
|
if baseparent and baseparent.type == "frame" then
|
||||||
baseparent:MakeTop()
|
baseparent:MakeTop()
|
||||||
end
|
end
|
||||||
self.down = true
|
if button == 1 then
|
||||||
loveframes.downobject = self
|
self.down = true
|
||||||
|
loveframes.downobject = self
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
self.pressed_button = button
|
self.pressed_button = button
|
||||||
|
Loading…
Reference in New Issue
Block a user