BUG: about click to configure blocks

BUG: about click to configure blocks

Postby acme_pjz » 24 Jul 2012, 11:10

Hi Edward_Lii and other developers,

I found a bug that is when clicking block to configure it in level editor, if the mouse is happen on some widgets in config dialog, then the widget will receive click event :| In the code when received SDL_MOUSEBUTTONDOWN the config dialog will appear, but then the widget will receive SDL_MOUSEBUTTONUP event :| So I changed the code a bit and uploaded it to SVN, please review the code :)

[EDIT] The change in SVN r476 breaks dragging :( Please ignore the changes... I'm finding another solution...

[EDIT] Fixed it again in r477, don't know if it will introduce other bugs
Some of my open source games on GitHub
User avatar
acme_pjz
 
Posts: 665
Joined: 10 Dec 2009, 15:32
Location: PeeKing, China

Who is online

Users browsing this forum: No registered users and 1 guest