Skip to content

Commit 6096efe

Browse files
committed
fix overlaps.
1 parent eef59a7 commit 6096efe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fidget.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ proc mouseOverlapLogic*(): bool =
137137
(not popupActive or inPopup) and
138138
current.screenBox.w > 0 and
139139
current.screenBox.h > 0 and
140-
mouse.pos.overlap(current.screenBox)
140+
mouse.pos.overlaps(current.screenBox)
141141

142142
template onClick*(inner: untyped) =
143143
## On click event handler.

0 commit comments

Comments
 (0)