ecs #15
@ -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
|
||||||
|
Reference in New Issue
Block a user