-
May 12th, 2007, 14:49 #1
- Join Date
- Feb 2006
- Location
- Fairfax County, Virginia
- Posts
- 499
Bug when using stateframe drophover and dice
I found a bug that occurs when you use the <stateframe> tag and either the <hover> or <drophover> tag and then drag dice over the control in question.
Here's my code:
Code:<!-- The Box --> <?xml version="1.0" encoding="iso-8859-1"?> <root version="2.0"> <framedef name="thebox_normal"> <bitmap>thebox/thebox_normal.png</bitmap> <middle>0,0,120,80</middle> </framedef> <framedef name="thebox_drop"> <bitmap>thebox/thebox_drop.png</bitmap> <middle>0,0,120,80</middle> </framedef> <windowclass name="thebox"> <sheetdata> <genericcontrol> <tooltip> <text>The Box</text> </tooltip> <bounds>0,0,120,80</bounds> <frame> <name>thebox_normal</name> </frame> <droptypes> <type>dice</type> </droptypes> <stateframe> <drophover> <name>thebox_drop</name> <nobaseframe /> </drophover> </stateframe> <!-- <script file="thebox/thebox.lua" /> --> </genericcontrol> </sheetdata> </windowclass> <panel name="thebox" modes="host,client"> <class>thebox</class> <bounds> <anchored> <left> <parent>chat</parent> <anchor>right</anchor> <offset>20</offset> </left> <top> <parent>chat</parent> <anchor>top</anchor> <offset>20</offset> </top> <size> <width>120</width> <height>80</height> </size> </anchored> </bounds> </panel> </root>
If you just use the plain old <hover> instead of <drophover>, it still has this problem, but only when you are dragging dice over the control. If you just hover the empty mouse cursor over it, it behaves correctly.
I guess it's possible that I'm doing something wrong here, so please let me know if this is a PIBCAK errorLast edited by Dachannien; May 12th, 2007 at 14:56.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks