atomize-parent-hooks #4

Merged
sashakoshka merged 8 commits from atomize-parent-hooks into main 2023-01-19 15:35:51 -07:00
Showing only changes of commit 7b8cdd9e04 - Show all commits

View File

@ -230,7 +230,7 @@ func (element *Container) HandleMouseMove (x, y int) {
}
}
func (element *Container) HandleScroll (x, y int, deltaX, deltaY float64) {
func (element *Container) HandleMouseScroll (x, y int, deltaX, deltaY float64) {
child, handlesMouse := element.ChildAt(image.Pt(x, y)).(tomo.MouseTarget)
if !handlesMouse { return }
childPosition := element.childPosition(child)