Skip to content
This repository was archived by the owner on Apr 28, 2021. It is now read-only.

Commit 413312b

Browse files
committed
don't splat
1 parent bda23ae commit 413312b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ end
2020
mouse position is in coorditnates relative to `screen`
2121
"""
2222
function GeometryTypes.isinside(screen::Screen, mpos)
23-
isinside(zeroposition(value(screen.area)), mpos...) || return false
23+
isinside(zeroposition(value(screen.area)), mpos[1], mpos[2]) || return false
2424
for s in screen.children
2525
# if inside any children, it's not inside screen
26-
isinside(value(s.area), mpos...) && return false
26+
isinside(value(s.area), mpos[1], mpos[2]) && return false
2727
end
2828
true
2929
end

0 commit comments

Comments
 (0)