Skip to content

Commit

Permalink
Merge pull request #176 from Vysci/wotlk_uldar_patch_fix
Browse files Browse the repository at this point in the history
Fixing Lua Errors
  • Loading branch information
Vysci authored Jan 18, 2023
2 parents 3a0e365 + beb5254 commit fc7286f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LFGBulletinBoard/GroupBulletinBoard.lua
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ function GBB.Popup_Minimap(frame,notminimap)
end

function GBB.Init()
GroupBulletinBoardFrame:SetMinResize(300,170)
GroupBulletinBoardFrame:SetResizeBounds(300,170)

GBB.UserLevel=UnitLevel("player")
GBB.UserName=(UnitFullName("player"))
Expand Down
4 changes: 2 additions & 2 deletions LFGBulletinBoard/LFGBulletinBoard.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 30400
## Interface: 30401
## Title: LFG Bulletin Board
## Notes: Sort LFG/LFM Messages
## Version: 3.09
## Version: 3.10
## Author: Vyscî-Whitemane
## DefaultState: enabled
## SavedVariables: GroupBulletinBoardDB
Expand Down
2 changes: 1 addition & 1 deletion LFGBulletinBoard/LibGPIOptions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ function Options.AddDrop(DB,Var,Init,MenuItems)
end

local dropdown_width = 0
local dd_title = Options.Btn[ButtonName]:CreateFontString(Options.Btn[ButtonName], 'OVERLAY', 'GameFontNormal')
local dd_title = Options.Btn[ButtonName]:CreateFontString(nil, "OVERLAY", "GameFontNormal")
for _, item in pairs(MenuItems) do -- Sets the dropdown width to the largest item string width.
dd_title:SetText(item)
local text_width = dd_title:GetStringWidth() + 20
Expand Down
2 changes: 1 addition & 1 deletion LFGBulletinBoard/LibGPIToolBox.lua
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ local SizingEnter=function(self)
if not (GetCursorInfo()) then
ResizeCursor:Show()
ResizeCursor.Texture:SetTexture(self.GPI_Cursor)
ResizeCursor.Texture:SetRotation(math.rad(self.GPI_Rotation),0.5,0.5)
ResizeCursor.Texture:SetRotation(math.rad(self.GPI_Rotation),CreateVector2D(0.5,0.5))
end
end

Expand Down
3 changes: 3 additions & 0 deletions LFGBulletinBoard/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Group Bulletin Board

3.10
= Hopefully mixed new patch issues

3.09
- Fixed RU tags (courtesy of tierggg)
- French localization (shout out to Isilorn for doing it)
Expand Down

0 comments on commit fc7286f

Please sign in to comment.