Skip to content
This repository has been archived by the owner on Mar 2, 2019. It is now read-only.

Commit

Permalink
Fixed something i keep reverting
Browse files Browse the repository at this point in the history
  • Loading branch information
FrazzIe committed Jun 30, 2018
1 parent 335d1a0 commit a9b8683
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NativeUI/NativeUI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2474,7 +2474,7 @@ function UIMenu:SetMenuWidthOffset(Offset)
if tonumber(Offset) then
self.WidthOffset = math.floor(tonumber(Offset))
self.Logo:Size(431 + self.WidthOffset, 107)
self.Title:Position((self.WidthOffset + self.Position.X + 431) / 2, 20 + self.Position.Y)
self.Title:Position(((self.WidthOffset + 431)/2) + self.Position.X, 20 + self.Position.Y)
if self.Subtitle.Rectangle ~= nil then
self.Subtitle.Rectangle:Size(431 + self.WidthOffset + 100, 37)
self.PageCounter.Text:Position(425 + self.Position.X + self.WidthOffset, 110 + self.Position.Y)
Expand Down
2 changes: 1 addition & 1 deletion NativeUI/UIMenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function UIMenu:SetMenuWidthOffset(Offset)
if tonumber(Offset) then
self.WidthOffset = math.floor(tonumber(Offset))
self.Logo:Size(431 + self.WidthOffset, 107)
self.Title:Position((self.WidthOffset + self.Position.X + 431) / 2, 20 + self.Position.Y)
self.Title:Position(((self.WidthOffset + 431)/2) + self.Position.X, 20 + self.Position.Y)
if self.Subtitle.Rectangle ~= nil then
self.Subtitle.Rectangle:Size(431 + self.WidthOffset + 100, 37)
self.PageCounter.Text:Position(425 + self.Position.X + self.WidthOffset, 110 + self.Position.Y)
Expand Down

0 comments on commit a9b8683

Please sign in to comment.