I'll take a look at why this is occurring.yintercept wrote: ↑Fri May 31, 2019 11:09 pm I encountered the following problem..
xdelta, ydelta = slab.GetMouseDelta()
slab.Text(v.name)
if slab.IsControlClicked()
print "ydelta: " .. ydelta -- ydelta is ALWAYS 0
end
Don't know whats going on, if it's on my end, or if it's a bug or maybe it's something to do with scope?
I tried printing it before and after slab.Text, and before and after slab.IsControlClicked, it's only 0 inside the if statement.
Yes, this is something I want to add real soon.Bunnybacon wrote: ↑Mon Jun 03, 2019 8:43 pm Hey!
Really excited about this lib!
Any easy way to know whether a click is inside or outside the UI layer?
Thanks!
I am wrapping up some last bit of features for the v0.4.0 release. Once I am completed with this, I will put out another version with the said fixes. I hope to have this release within the next week.