Fix variable typo

This commit is contained in:
Entrox-Licher 2023-08-26 17:39:52 -04:00 committed by GitHub
parent 6df68b3f62
commit 2fd312c651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
local controlActive = false
local playAreaAPI = require("core/PlayAreaApi")
local playAreaApi = require("core/PlayAreaApi")
-- parameters for open/close button for reusing
local buttonParameters = {}
@ -62,11 +62,11 @@ end
-- click function for apply button
function click_applySurface(_, _, isRightClick)
playAreaAPI.updateSurface(isRightClick and "" or self.getInputs()[1].value)
playAreaApi.updateSurface(isRightClick and "" or self.getInputs()[1].value)
end
function updateSurface(newURL)
playAreaAPI.updateSurface(newURL)
playAreaApi.updateSurface(newURL)
end
-- input function for the input box