Permalink
Browse files

Centered the hide tool menu button

  • Loading branch information...
1 parent ab46858 commit 08be4a198e58609e3bcb374ff8aab9fea05d28ae @robotboy655 robotboy655 committed Aug 28, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 garrysmod/gamemodes/sandbox/gamemode/spawnmenu/spawnmenu.lua
@@ -141,8 +141,8 @@ function PANEL:PerformLayout()
self.CreateMenu:DockMargin( MarginX, MarginY, 1, MarginY )
self.ToolMenu:DockMargin( 0, MarginY, MarginX, MarginY )
- self.ToolToggle:AlignRight( 2 )
- self.ToolToggle:AlignTop( 2 )
+ self.ToolToggle:AlignRight( 6 )
+ self.ToolToggle:AlignTop( 6 )
end
@@ -307,4 +307,4 @@ local function SpawnMenuOpenGUIMouseReleased()
end
-hook.Add( "GUIMouseReleased", "SpawnMenuOpenGUIMouseReleased", SpawnMenuOpenGUIMouseReleased )
+hook.Add( "GUIMouseReleased", "SpawnMenuOpenGUIMouseReleased", SpawnMenuOpenGUIMouseReleased )

0 comments on commit 08be4a1

Please sign in to comment.