Game Development Community

GuiButtonBaseCtrl::onKeyUp

by James Spellman · in Torque Game Engine · 04/12/2005 (9:58 am) · 2 replies

I'm sure this is a bug, but better safe than sorry. At the end of the GuiButtonBaseCtrl::onKeyUp routine it calls it's parent:

//otherwise, pass the event to it's parent
   return Parent::onKeyDown(event);

I'm assuming that should be onKeyUp, not Down.

#1
04/12/2005 (11:49 pm)
Oooo... Yucky.

Thanks, James. I'll fix that one right quick!
#2
08/02/2005 (5:38 pm)
Quick, schmick!

In trunk now. #36.