WoW BlueTracker Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
Poster: Tem at 8/18/2006 6:44:46 PM PDT
Subject: Slouken: I crash WoW
   Edit: I guess I should add some sort of explanation....

I came across this today while fiddling with a slider object. Sliders created via CreateFrame don't like not having a thumb texture set. Clicking and dragging on the slider causes WoW to crash.

A small example slider:

local f = CreateFrame("Slider",nil,UIParent)
f:SetBackdrop{
bgFile = "Interface/Tooltips/UI-Tooltip-Background",
edgeFile = "Interface/Tooltips/UI-Tooltip-Border",
tile = true, tileSize = 16, edgeSize = 16,
insets = {
left = 5, right = 5,
top = 5, bottom = 5
}
}

f:SetBackdropBorderColor(.4,.4,.4)
f:SetBackdropColor(.1,.1,.1)

f:SetWidth(200)
f:SetHeight(200)

local s = f:CreateFontString()
s:SetAllPoints(f)
s:SetFontObject(GameFontNormalSmall)
s:SetText("Click and drag in here to crash!")

f:SetPoint("CENTER",0,0)

[ post edited by Tem ]


What more work?
I don't wanna do that.
Yes m'Lord.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=433967&p=#post433967
 
Poster: slouken at 8/22/2006 6:59:10 PM PDT
Subject: Re: Slouken: I crash WoW
   Fixed in 1.12.1, thanks Tem!
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=433967&p=#post435589

View all recent official Blue Posts

WoW Blue Tracker: Archiving World of Warcraft Blue Posts
since March 2005
Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
 

Why Ads?