Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-26-18, 08:55 AM   #1
Zenjaa
A Deviate Faerie Dragon
Join Date: Jul 2009
Posts: 10
Post [HELP] Positioning Minimap > Blizz Bar Error

Hello.
Maybe someone can help me out with a somewhat weird issue.

I'm using my own Minimap addon which works completely fine except for a positioning issue.

This is the part of the addon which positions the minimap, which works fine.

Code:
local cfg = {
  scale = 1,
  point = { "TOPRIGHT", UIParent, "TOPRIGHT", -25, -2},
}
BUT...
as soon as I try to position the map in the bottomright corner the following error occurs:
Code:
74x FrameXML\MultiActionBars.lua:85: MultiBarRight:SetScale(): Scale must be > 0
[C]: in function `SetScale'
FrameXML\MultiActionBars.lua:85: in function `MultiActionBar_Update'
FrameXML\InterfaceOptionsPanels.lua:1184: in function `InterfaceOptions_UpdateMultiActionBars'
[string "*:OnLoad"]:4: in function `setFunc'
FrameXML\InterfaceOptionsPanels.lua:1154: in function <FrameXML\InterfaceOptionsPanels.lua:1147>

Locals:
(*temporary) = MultiBarRight {
 0 = <userdata>
 slideOut = <unnamed> {
 }
}
(*temporary) = -0.22465210264293

Apparently the blizz code is scaling the actionbars (right bars/multibars 4/5) if I move the minimap somewhere near the area where they are!?

Can anybody tell me why this is happening and what steps to take lua-wise to get rid of this behavior?
Any help would be greatly appreciated.
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » [HELP] Positioning Minimap > Blizz Bar Error


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off