mirror of
https://github.com/teverse/teverse
synced 2025-08-24 15:14:46 +02:00
Compare commits
5 Commits
9fdca05465
...
626d75f0e1
Author | SHA1 | Date | |
---|---|---|---|
![]() |
626d75f0e1 | ||
![]() |
a59deb61d1 | ||
![]() |
447f5aa460 | ||
![]() |
e992c4c862 | ||
![]() |
eb1ce84963 |
652
apiDump.json
652
apiDump.json
File diff suppressed because it is too large
Load Diff
@ -26,7 +26,7 @@ local tabs = {
|
||||
{"Settings", "fa:s-cog", function ()
|
||||
shared.windows.settings.visible = not shared.windows.settings.visible
|
||||
end},
|
||||
{"Test", "fa:s-satellite-dish", function ()
|
||||
{"Test", "fa:s-play-circle", function ()
|
||||
if not shared.workshop.gameFilePath or shared.workshop.gameFilePath == "" then
|
||||
ui.prompt("Please save this game before testing.")
|
||||
else
|
||||
|
@ -76,7 +76,7 @@ return {
|
||||
|
||||
-- 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.
|
||||
window = function(parent, title, size, position, dockable, closable)
|
||||
window = function(parent, title, size, position, dockable, closable, dragable)
|
||||
local container = create("guiFrame", parent, {
|
||||
size = size,
|
||||
name = title,
|
||||
@ -102,6 +102,7 @@ return {
|
||||
}, themer.types.primary)
|
||||
|
||||
titleBar:mouseLeftPressed(function ()
|
||||
if dragable == false then return end -- Backwards compatibility
|
||||
dock.beginWindowDrag(container, not dockable)
|
||||
end)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user