Working on simple gui objects
This commit is contained in:
parent
5f3550f694
commit
d1b3ffb39a
@ -525,7 +525,7 @@ function gui:newBase(typ,x, y, w, h, sx, sy, sw, sh, virtual)
|
||||
gui.Events.OnMousePressed(function(x, y, button, istouch, presses)
|
||||
if not c:isActive() then return end
|
||||
if c:canPress(x,y) then
|
||||
c.OnPressed:Fire(c,x, y, dx, dy, istouch)
|
||||
c.OnPressed:Fire(c, x, y, dx, dy, istouch)
|
||||
pressed = true
|
||||
|
||||
-- Only change and trigger the event if it is a different object
|
||||
|
||||
2
multi
2
multi
@ -1 +1 @@
|
||||
Subproject commit 7114b87bdd05eb9e4d01f0c639175f6d2dda1d52
|
||||
Subproject commit 3776fdff9d65188ceadf199e0b108b8d4c5ed941
|
||||
Loading…
x
Reference in New Issue
Block a user