Thread Tools Display Modes
01-01-11, 06:19 AM   #1
Haleth
This Space For Rent
 
Haleth's Avatar
Featured
Join Date: Sep 2008
Posts: 1,173
WorldMapQuestShowObjectives problem

Hello.

Since the UI scaling change I'm trying to let my UI work with UI scaling disabled. Most of it is working out pretty well, however, I've found a weird problem with WorldMapQuestShowObjectives. In my map script I do this:

Code:
	WorldMapQuestShowObjectives:ClearAllPoints()
	WorldMapQuestShowObjectives:SetPoint("BOTTOMRIGHT",WorldMapButton,"BOTTOMRIGHT", 0, -1)
This is called on every 'WorldMap_ToggleSizeDown'.

With UI scaling enabled, this works fine, but when it's disabled, it seems to have no effect at all. Only when I kill the SetPoint function it'll work for a while, but eventually break and it will just disappear completely.

Could anyone help me out here?

Thanks.
  Reply With Quote
01-01-11, 07:20 AM   #2
Sniffles
A Black Drake
 
Sniffles's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2010
Posts: 86
Where do you want it exactly? Without the script, my Button is at bottomright. A screen would be easier to understand what you want

Maybe you forget

Code:
WorldMapQuestShowObjectives:ClearAllPoints()
WorldMapQuestShowObjectives.ClearAllPoints =  function() end
WorldMapQuestShowObjectives:SetPoint("BOTTOMRIGHT",WorldMapButton,"BOTTOMRIGHT", 0, -1)
WorldMapQuestShowObjectives.SetPoint = function() end
  Reply With Quote
01-01-11, 07:26 AM   #3
Haleth
This Space For Rent
 
Haleth's Avatar
Featured
Join Date: Sep 2008
Posts: 1,173
It works just fine normally, the problem is with UI scaling disabled it remains hooked under the world map, no matter whether or not I change its position.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » WorldMapQuestShowObjectives problem


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