Working on simple gui objects

This commit is contained in:
Ryan Ward 2023-01-11 22:53:36 -05:00
parent 5f3550f694
commit d1b3ffb39a
2 changed files with 2 additions and 2 deletions

View File

@ -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

@ -1 +1 @@
Subproject commit 7114b87bdd05eb9e4d01f0c639175f6d2dda1d52
Subproject commit 3776fdff9d65188ceadf199e0b108b8d4c5ed941