Skip to content

Commit 4ce5570

Browse files
committed
Update SlideshowSettings.lua
1 parent 2e3cdfb commit 4ce5570

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

SlideshowSettings.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ maxSlideDuration = 100000
1515
loopSlideshow = true
1616
startWithAutoplay = true
1717
browserSourceName = "Browser"
18-
local mode_options = {"Random Order", "Alphabetical Order", "Alphabetical order, start on random"}
18+
local mode_options = {"Random Order", "Alphabetical Order", "Alphabetical Order, start on random"}
1919
captionEnabled = false
2020

2121
HK_PAUSE = obs.OBS_INVALID_HOTKEY_ID
@@ -180,7 +180,7 @@ function script_load(settings)
180180
obs.obs_data_array_release(hotkey_save_array)
181181
end
182182

183-
-- called when script settings change
183+
-- called when script settings change. writes changes to settings.js
184184
function script_update(settings)
185185
mode = obs.obs_data_get_int(settings, "mode")
186186
slideDuration = obs.obs_data_get_int(settings, "slideDuration")
@@ -269,7 +269,7 @@ function send_hotkey_to_browser(keycode, key_pressed)
269269
obs.obs_source_release(source)
270270
end
271271

272-
-- write list of images to js file
272+
-- write list of images to images.js
273273
function update_image_list()
274274
local output = assert(io.open(script_path() .. 'images/images.js', "w"))
275275
local files = assert(io.popen('dir "'.. script_path() .. 'images/' ..'" /b'))

0 commit comments

Comments
 (0)