Quantcast

The Position module has a new setting, "Position UI Tooltip." Here you can choose to place the default Unit tooltip next to the fake libqtip tooltip, choosing top, bottom, left, right, or position it offscreen.

Author Scott Sibley <ssibley@gmail.com>
Author date 2011-07-04 06:56:47
Author local date 2011-07-04 06:56:47 +0000
Committer Scott Sibley <ssibley@gmail.com>
Committer date 2011-07-04 06:56:47
Committer local date 2011-07-04 06:56:47 +0000
Commit 4b7db0f43877298c83668034106c83b680eecf2c
Tree 861bcaae40d7c36d2a812bca9bd3c6007b08f4aa
Parent 20ed601a9148cc718a4073f3e600e02e35ca8e29
The Position module has a new setting, "Position UI Tooltip." Here you can choose to place the default Unit tooltip next to the fake libqtip tooltip, choosing top, bottom, left, right, or position it offscreen.
Positioning it offscreen as opposed to just hiding it keeps the GameTooltip valid for the unit. Otherwise if hide it then GameTooltip:GetUnit() returns nothing, which breaks other addons.
This is one of the main reasons the switch to libqtip was warranted. Once you hide or otherwise trash the GameTooltip, then it's left disfunctional.
Allowing the user to position the default tooltip alongside the fake tooltip will allow players to use StarTip along with other addons that otherwise modify the default tooltip, such as MyRolePlay.