diff modules/HideBlizzard.lua @ 149:61d89f0918ca

raised frame level for Blizzard's vehicle bar
author Flick <flickerstreak@gmail.com>
date Fri, 08 May 2009 00:22:56 +0000
parents 320a93c5f72c
children f300c3ffc3fa
line wrap: on
line diff
--- a/modules/HideBlizzard.lua	Fri May 08 00:06:53 2009 +0000
+++ b/modules/HideBlizzard.lua	Fri May 08 00:22:56 2009 +0000
@@ -33,6 +33,11 @@
   self.hiddenFrame = CreateFrame("Frame")
   self.hiddenFrame:Hide()
 
+  -- It's fairly normal to use the Blizzard vehicle bar, and to have
+  -- your regular buttons in the same location. If you do this, and don't
+  -- bother to hide your buttons, they'll obscure some parts of the vehicle bar.
+  VehicleMenuBar:SetFrameLevel(VehicleMenuBar:GetFrameLevel()+3)
+
   ReAction:RegisterOptions(self, {
       hide = {
         name = L["Hide Blizzard Action Bars"],