From 28d263a9874221f534c4f473105d8677b42c0fa9 Mon Sep 17 00:00:00 2001 From: MC Naveen <8493007+mcnaveen@users.noreply.github.com> Date: Tue, 28 Nov 2023 20:24:33 +0530 Subject: [PATCH 1/2] chore: Better wording in the UI --- obs-zoom-to-mouse.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obs-zoom-to-mouse.lua b/obs-zoom-to-mouse.lua index 52d63ae..5c15ab0 100644 --- a/obs-zoom-to-mouse.lua +++ b/obs-zoom-to-mouse.lua @@ -1093,7 +1093,7 @@ function on_print_help() "----------------------------------------------------\n" .. "This script will zoom the selected display-capture source to focus on the mouse\n\n" .. "Zoom Source: The display capture in the current scene to use for zooming\n" .. - "Zoom Factor: How much to zoom in by\n" .. + "Zoom Level: How much to zoom in by\n" .. "Zoom Speed: The speed of the zoom in/out animation\n" .. "Auto follow mouse: True to track the cursor while you are zoomed in\n" .. "Follow outside bounds: True to track the cursor even when it is outside the bounds of the source\n" .. @@ -1140,7 +1140,7 @@ function script_properties() "Click to re-populate Zoom Sources dropdown with available sources") -- Add the rest of the settings UI - local zoom = obs.obs_properties_add_float(props, "zoom_value", "Zoom Factor", 1, 5, 0.5) + local zoom = obs.obs_properties_add_float(props, "zoom_value", "Zoom Level", 1, 5, 0.5) local zoom_speed = obs.obs_properties_add_float_slider(props, "zoom_speed", "Zoom Speed", 0.01, 1, 0.01) local follow = obs.obs_properties_add_bool(props, "follow", "Auto follow mouse ") obs.obs_property_set_long_description(follow, From bec78ae5802a94bfc1367b78defdbcbd035dc74a Mon Sep 17 00:00:00 2001 From: MC Naveen <8493007+mcnaveen@users.noreply.github.com> Date: Tue, 28 Nov 2023 20:26:50 +0530 Subject: [PATCH 2/2] chore: update wording in readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index c58b9d9..99c9865 100644 --- a/readme.md +++ b/readme.md @@ -39,7 +39,7 @@ Inspired by [tryptech](https://github.com/tryptech)'s [obs-zoom-and-follow](http ## Usage 1. You can customize the following settings in the OBS Scripts window: * **Zoom Source**: The display capture in the current scene to use for zooming - * **Zoom Factor**: How much to zoom in by + * **Zoom Level**: How much to zoom in by * **Zoom Speed**: The speed of the zoom in/out animation * **Auto follow mouse**: True to track the cursor automatically while you are zoomed in, instead of waiting for the `Toggle follow` hotkey to be pressed first * **Follow outside bounds**: True to track the cursor even when it is outside the bounds of the source