Tercioo / Details-Damage-Meter

Addon for World of Warcraft, does combat analyzes offering clean visual data for the player
Other
183 stars 135 forks source link

SetJustifyV("center") changes to "middle" #727

Closed SpareSimian closed 6 months ago

SpareSimian commented 6 months ago

Version VWD 12579, Retail 10.2.7.

Fix: In Libs/df/textentry.lua, change "center" to "middle" at line 463.

This was reported on Norgana's GitLab for Cata Classic but the fix also works for retail.

https://gitlab.com/norganna-wow/auctioneer/auctioneer/-/issues/45

Date: 2024-05-08 12:57:25
ID: 1
Error occured in: Global
Count: 1
Message: [string "return _G['Details_EncounterDetailsEmoteSea..."] line 1:
   bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV))
Debug:
   [string "=[C]"]: SetJustifyV()
   [string "return _G['Details_EncounterDetailsEmoteSearchBox']:SetJustifyV(...)"]:1: in main chunk
   [string "=(tail call)"]: ?
   [string "@Interface/AddOns/Details/Libs/DF/textentry.lua"]:463: SetAsSearchBox()
   [string "@Interface/AddOns/Details_EncounterDetails/frames_emote.lua"]:289: in main chunk
Locals:
(*temporary) = Details_EncounterDetailsEmoteSearchBox {
 0 = <userdata>
 label = Details_EncounterDetailsEmoteSearchBox_Desc {
 }
 backdropInfo = <table> {
 }
 OnBackdropLoaded = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:152
 MyObject = <table> {
 }
 Center = Texture {
 }
 GetBackdropColor = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:390
 SetupTextureCoordinates = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:214
 OnBackdropSizeChanged = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:182
 HasBackdropInfo = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:278
 SetBackdropBorderColor = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:422
 RightEdge = Texture {
 }
 current_bordercolor = <table> {
 }
 BottomEdge = Texture {
 }
 GetEdgeSize = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:188
 BottomLeftCorner = Texture {
 }
 BottomRightCorner = Texture {
 }
 TopEdge = Texture {
 }
 ApplyBackdrop = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:294
 SetBackdrop = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:329
 ClearBackdrop = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:282
 TopRightCorner = Texture {
 }
 GetBackdropBorderColor = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:409
 GetBackdrop = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:347
 TopLeftCorner = Texture {
 }
 SetupPieceVisuals = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:246
 SetBackdropColor = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:399
 LeftEdge = Texture {
 }
 SetBorderBlendMode = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:266
}
(*temporary) = "center"
Flamanis commented 6 months ago

You try updating perhaps?

On Wed, May 8, 2024, 2:07 PM SpareSimian @.***> wrote:

Version VWD 12579, Retail 10.2.7.

Fix: In Libs/df/textentry.lua, change "center" to "middle" at line 463.

This was reported on Norgana's GitLab for Cata Classic but the fix also works for retail.

https://gitlab.com/norganna-wow/auctioneer/auctioneer/-/issues/45

Date: 2024-05-08 12:57:25 ID: 1 Error occured in: Global Count: 1 Message: [string "return _G['Details_EncounterDetailsEmoteSea..."] line 1: bad argument #1 to 'SetJustifyV' (Usage: self:SetJustifyV(justifyV)) Debug:

[string "return _G['Details_EncounterDetailsEmoteSearchBox']:SetJustifyV(...)"]:1: in main chunk

[string @./AddOns/Details/Libs/DF/textentry.lua"]:463: SetAsSearchBox() [string @./AddOns/Details_EncounterDetails/frames_emote.lua"]:289: in main chunk Locals: (temporary) = Details_EncounterDetailsEmoteSearchBox { 0 = label = Details_EncounterDetailsEmoteSearchBox_Desc { } backdropInfo =

{ } OnBackdropLoaded = defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:152 MyObject =
{ } Center = Texture { } GetBackdropColor = defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:390 SetupTextureCoordinates = defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:214 OnBackdropSizeChanged = defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:182 HasBackdropInfo = defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:278 SetBackdropBorderColor = defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:422 RightEdge = Texture { } current_bordercolor =
{ } BottomEdge = Texture { } GetEdgeSize = defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:188 BottomLeftCorner = Texture { } BottomRightCorner = Texture { } TopEdge = Texture { } ApplyBackdrop = defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:294 SetBackdrop = defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:329 ClearBackdrop = defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:282 TopRightCorner = Texture { } GetBackdropBorderColor = defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:409 GetBackdrop = defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:347 TopLeftCorner = Texture { } SetupPieceVisuals = defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:246 SetBackdropColor = defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:399 LeftEdge = Texture { } SetBorderBlendMode = defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:266 } (temporary) = "center"

— Reply to this email directly, view it on GitHub https://github.com/Tercioo/Details-Damage-Meter/issues/727, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABL4J6A3MDN7SXJOGKJ67ADZBKAYTAVCNFSM6AAAAABHNTLB3WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4DMMZVGA4TONQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

SpareSimian commented 6 months ago

Sorry for the noise. Problem with my updater.