Skip to content

Commit

Permalink
Renamed GUI.Style to match the rest
Browse files Browse the repository at this point in the history
  • Loading branch information
evilfactory committed Apr 21, 2024
1 parent 38f8e26 commit 10ad5d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Barotrauma/BarotraumaShared/Lua/DefaultLib/LibClient.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ defaultLib["Keys"] = CreateStatic("Microsoft.Xna.Framework.Input.Keys", true)

defaultLib["GUI"] = {
GUI = CreateStatic("Barotrauma.GUI", true),
GUIStyle = CreateStatic("Barotrauma.GUIStyle", true),
Style = CreateStatic("Barotrauma.GUIStyle", true),
Component = CreateStatic("Barotrauma.GUIComponent"),
RectTransform = CreateStatic("Barotrauma.RectTransform", true),
LayoutGroup = CreateStatic("Barotrauma.GUILayoutGroup", true),
Expand Down Expand Up @@ -73,6 +73,8 @@ defaultLib["GUI"] = {
Pivot = CreateStatic("Barotrauma.Pivot"),
SoundType = CreateEnum("Barotrauma.GUISoundType"),
CursorState = CreateEnum("Barotrauma.CursorState"),

GUIStyle = CreateStatic("Barotrauma.GUIStyle", true),
}

setmetatable(defaultLib["GUI"], {
Expand Down

0 comments on commit 10ad5d2

Please sign in to comment.