1
0
mirror of https://github.com/teverse/teverse synced 2025-08-25 23:54:46 +02:00

Compare commits

..

No commits in common. "626d75f0e16531fc122f884447144bc45a1855a2" and "9fdca05465d6130f08b744a370575ad5e2045c77" have entirely different histories.

3 changed files with 193 additions and 464 deletions

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,7 @@ local tabs = {
{"Settings", "fa:s-cog", function () {"Settings", "fa:s-cog", function ()
shared.windows.settings.visible = not shared.windows.settings.visible shared.windows.settings.visible = not shared.windows.settings.visible
end}, end},
{"Test", "fa:s-play-circle", function () {"Test", "fa:s-satellite-dish", function ()
if not shared.workshop.gameFilePath or shared.workshop.gameFilePath == "" then if not shared.workshop.gameFilePath or shared.workshop.gameFilePath == "" then
ui.prompt("Please save this game before testing.") ui.prompt("Please save this game before testing.")
else else

View File

@ -76,7 +76,7 @@ return {
-- if closable is true OR a function, a close button will appear in the title bar. -- if closable is true OR a function, a close button will appear in the title bar.
-- when clicked, if closable is a function, it is fired after hiding the window. -- when clicked, if closable is a function, it is fired after hiding the window.
window = function(parent, title, size, position, dockable, closable, dragable) window = function(parent, title, size, position, dockable, closable)
local container = create("guiFrame", parent, { local container = create("guiFrame", parent, {
size = size, size = size,
name = title, name = title,
@ -102,7 +102,6 @@ return {
}, themer.types.primary) }, themer.types.primary)
titleBar:mouseLeftPressed(function () titleBar:mouseLeftPressed(function ()
if dragable == false then return end -- Backwards compatibility
dock.beginWindowDrag(container, not dockable) dock.beginWindowDrag(container, not dockable)
end) end)