ecs #15

Merged
sashakoshka merged 41 commits from ecs into main 2023-04-19 22:29:08 -06:00
Showing only changes of commit 6b13e772a9 - Show all commits

View File

@ -261,6 +261,7 @@ func (window *window) handleMotionNotify (
handled := false handled := false
for _, child := range window.system.drags { for _, child := range window.system.drags {
if child == nil { continue }
if child, ok := child.element.(tomo.MotionTarget); ok { if child, ok := child.element.(tomo.MotionTarget); ok {
child.HandleMotion(x, y) child.HandleMotion(x, y)
handled = true handled = true