ui/pointer: unexport OpArea.Hit

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-06-05 10:46:23 +02:00
parent 13f69a28ac
commit b12430bab3
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ func (op *OpArea) decode(d []byte) {
}
}
func (op *OpArea) Hit(pos f32.Point) HitResult {
func (op *OpArea) hit(pos f32.Point) HitResult {
switch op.kind {
case areaRect:
if 0 <= pos.X && pos.X < float32(op.size.X) &&