(pos f32.Point)
| 515 | } |
| 516 | |
| 517 | func (q *pointerQueue) ActionAt(pos f32.Point) (action system.Action, hasAction bool) { |
| 518 | q.hitTest(pos, func(n *hitNode) bool { |
| 519 | area := q.areas[n.area] |
| 520 | if area.action != 0 { |
| 521 | action = area.action |
| 522 | hasAction = true |
| 523 | return false |
| 524 | } |
| 525 | return true |
| 526 | }) |
| 527 | return action, hasAction |
| 528 | } |
| 529 | |
| 530 | func (q *pointerQueue) SemanticAt(pos f32.Point) (semID SemanticID, hasSemID bool) { |
| 531 | q.assignSemIDs() |