Remedy #4
This commit is contained in:
parent
cd72ae5bdd
commit
996d747d45
@ -329,6 +329,8 @@ func (this *containerBox) recursiveRedo () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *containerBox) boxUnder (point image.Point, category eventCategory) anyBox {
|
func (this *containerBox) boxUnder (point image.Point, category eventCategory) anyBox {
|
||||||
|
if !point.In(this.bounds) { return nil }
|
||||||
|
|
||||||
if !this.capture[category] {
|
if !this.capture[category] {
|
||||||
for _, box := range this.children {
|
for _, box := range this.children {
|
||||||
candidate := box.(anyBox).boxUnder(point, category)
|
candidate := box.(anyBox).boxUnder(point, category)
|
||||||