Skip to content

Commit 2a059f0

Browse files
Fix follow_border as it should be 50% not 0.5
1 parent 17b0592 commit 2a059f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

obs-zoom-to-mouse.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ function on_timer()
655655
end
656656

657657
-- We set the current position as the center for the follow safezone
658-
if is_following_mouse and follow_border < 0.5 then
658+
if is_following_mouse and follow_border < 50 then
659659
zoom_target = get_target_position(zoom_info)
660660
locked_center = { x = zoom_target.clamped_center.x, y = zoom_target.clamped_center.y }
661661
log("Cursor stopped. Tracking locked to " .. locked_center.x .. ", " .. locked_center.y)

0 commit comments

Comments
 (0)