Skip to content

Commit 21c09f1

Browse files
authored
Center soundbrowser (#3407)
I don't like that soundbrowser opens somewhere in the upper left part of the screen instead of the center
1 parent ff599f3 commit 21c09f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/wire/client/sound_browser.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,7 @@ local function CreateSoundBrowser(path, se)
679679
SoundBrowserPanel = vgui.Create("DFrame") -- The main frame.
680680
SoundBrowserPanel:SetPos(50,25)
681681
SoundBrowserPanel:SetSize(1000, 700)
682+
SoundBrowserPanel:Center()
682683

683684
SoundBrowserPanel:SetMinWidth(700)
684685
SoundBrowserPanel:SetMinHeight(400)

0 commit comments

Comments
 (0)