Fixed program only using relative path
Fixed list not sending scroll events
Added observer to scrollbar's :attach method
Fixed vertical sliders
This commit is contained in:
Robert Jelic
2025-05-15 01:03:50 +02:00
parent cf38107e43
commit f63ec29498
4 changed files with 28 additions and 6 deletions

View File

@@ -167,6 +167,7 @@ function List:mouse_scroll(direction, x, y)
offset = math.min(maxOffset, math.max(0, offset + direction))
self.set("offset", offset)
self:fireEvent("mouse_scroll", direction, x, y)
return true
end
return false