Slick Forums

Discuss the Slick 2D Library
It is currently Fri May 24, 2013 2:52 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: RFE: clear focus
PostPosted: Thu Aug 21, 2008 5:37 am 
Offline
Game Developer
User avatar

Joined: Sun May 25, 2008 9:45 am
Posts: 578
Wierd behavior has been driving my nuts for a while... sometimes hitting a key causes gameplay to end or the app to close! Turns out that if I show a Thingle dialog, then hide it by removing it from the page, later on if you hit the right keys the dialog still has focus and you can end up triggering a button on the dialog to make some random action happen. The fix is to add a method to Page that allows the focus to be cleared, which I do when a dialog is removed from the page.

http://n4te.com/temp/thingle-focus.patch


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 21, 2008 7:08 pm 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
In SVN.

Kev


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group