Fix variable typo
This commit is contained in:
parent
6df68b3f62
commit
2fd312c651
@ -1,5 +1,5 @@
|
|||||||
local controlActive = false
|
local controlActive = false
|
||||||
local playAreaAPI = require("core/PlayAreaApi")
|
local playAreaApi = require("core/PlayAreaApi")
|
||||||
|
|
||||||
-- parameters for open/close button for reusing
|
-- parameters for open/close button for reusing
|
||||||
local buttonParameters = {}
|
local buttonParameters = {}
|
||||||
@ -62,11 +62,11 @@ end
|
|||||||
|
|
||||||
-- click function for apply button
|
-- click function for apply button
|
||||||
function click_applySurface(_, _, isRightClick)
|
function click_applySurface(_, _, isRightClick)
|
||||||
playAreaAPI.updateSurface(isRightClick and "" or self.getInputs()[1].value)
|
playAreaApi.updateSurface(isRightClick and "" or self.getInputs()[1].value)
|
||||||
end
|
end
|
||||||
|
|
||||||
function updateSurface(newURL)
|
function updateSurface(newURL)
|
||||||
playAreaAPI.updateSurface(newURL)
|
playAreaApi.updateSurface(newURL)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- input function for the input box
|
-- input function for the input box
|
||||||
|
Loading…
x
Reference in New Issue
Block a user