resolving review comment

This commit is contained in:
Chr1Z93 2023-12-12 10:01:38 +01:00
parent 4b3cf57251
commit 7c9e7ab0fc

View File

@ -693,9 +693,12 @@ end
-- click function for the "Custom URL" button in the playarea image gallery
function onClick_customUrl(player)
player.showInputDialog("Enter a custom URL for the playarea image", "", function(newURL)
playAreaApi.updateSurface(newURL)
end)
onClick_toggleUi(_, "playareaGallery")
Wait.time(function()
player.showInputDialog("Enter a custom URL for the playarea image", "", function(newURL)
playAreaApi.updateSurface(newURL)
end)
end, 0.15)
end
-- click function for the download button in the preview window