Thread Tools Display Modes
Unread 07-28-12, 02:57 PM   #1
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view addons
Join Date: May 2010
Posts: 128
Exclamation wStuff help

Hi there, all. I see with the mop beta. i cant move this frame no more. i have looked into other ways around this. but something i am missing that has changed with mop. any help would be great-full. thanks



Code:
local f1 = CreateFrame("frame", "wStuff", UIParent)
f1:ClearAllPoints()
f1:SetPoint("CENTER", UIParent, "BOTTOMRIGHT", -500, 30)
f1:SetWidth(189) f1:SetHeight(65)
f1:SetBackdropColor(54/255, 54/255, 54/255)
f1:Show()
f1:SetScale(0.8)
f1:SetFrameStrata("LOW")
f1:SetBackdrop({ bgFile = "interface\\Tooltips\\UI-Tooltip-Background", edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", tile = 1, tileSize = 26, edgeSize = 26, insets = { left = 3, right = 3, top = 3, bottom = 3 } });
f1:EnableMouse(true)
f1:SetMovable(true)
f1:RegisterForDrag("LeftButton")
f1:SetScript("OnDragStart", function(self) if IsShiftKeyDown() then  self:StartMoving() end end)
f1:SetScript("OnDragStop", function(self) self:StopMovingOrSizing() end)
f1:SetUserPlaced(true)
__________________
wMmap :: Is a lightweight Minimap, with a sleek look & custom imagery.
wIn1 :: In one addon. and is very lightweight & simple to use.
wChat :: Is a lightweight chat mod.
wBroker :: Is A simple broker add-on.
wPetXPBar :: Is A simple lightweight Pet XP Bar.
wBuffs :: Is A simple Buffs Bar.
weasoug is offline  
Unread 07-28-12, 03:47 PM   #2
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,195
I don't see anything wrong with that at first glance...

Are you sure there's not an unrelated problem? Perharps another frame on top of that obstructing the mouse?

What does /framestack have to say?
What happens if you put some debug prints in the script handlers?
Dridzt is offline  
Unread 07-28-12, 04:26 PM   #3
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view addons
Join Date: May 2010
Posts: 128
Thumbs up

That helped. it seems the main menu bar, even though was hidden, a layer was there i forgot.

thanks for the help.
__________________
wMmap :: Is a lightweight Minimap, with a sleek look & custom imagery.
wIn1 :: In one addon. and is very lightweight & simple to use.
wChat :: Is a lightweight chat mod.
wBroker :: Is A simple broker add-on.
wPetXPBar :: Is A simple lightweight Pet XP Bar.
wBuffs :: Is A simple Buffs Bar.
weasoug is offline  
 

Go BackWoWInterface » WoD Beta » MoP archived threads » wStuff help

Thread Tools
Display Modes

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