From: Richard K. <ric...@us...> - 2005-07-19 21:53:45
|
Update of /cvsroot/actionstep/actionstep/src/org/actionstep In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32651 Modified Files: ASEventMonitor.as Log Message: forgot parathesis on getCode call Index: ASEventMonitor.as =================================================================== RCS file: /cvsroot/actionstep/actionstep/src/org/actionstep/ASEventMonitor.as,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** ASEventMonitor.as 14 Jul 2005 21:56:42 -0000 1.16 --- ASEventMonitor.as 19 Jul 2005 21:53:34 -0000 1.17 *************** *** 125,134 **** buildModifierFlags(), m_timeOffset+getTimer(), null /* window */, null /*contact*/, String.fromCharCode(Key.getAscii()), String.fromCharCode(Key.getAscii()), (m_lastKeyDown == Key.getCode()), Key.getCode()); ! m_lastKeyDown = Key.getCode(); m_app.sendEvent(event); } private function keyUp() { ! if (m_lastKeyDown == Key.getCode) { m_lastKeyDown = 0; } --- 125,134 ---- buildModifierFlags(), m_timeOffset+getTimer(), null /* window */, null /*contact*/, String.fromCharCode(Key.getAscii()), String.fromCharCode(Key.getAscii()), (m_lastKeyDown == Key.getCode()), Key.getCode()); ! m_lastKeyDown = Key.getCode(); m_app.sendEvent(event); } private function keyUp() { ! if (m_lastKeyDown == Key.getCode()) { m_lastKeyDown = 0; } *************** *** 136,140 **** buildModifierFlags(), m_timeOffset+getTimer(), null /* window */, null /*contact*/, String.fromCharCode(Key.getAscii()), String.fromCharCode(Key.getAscii()), (m_lastKeyDown == Key.getCode()), Key.getCode()); ! m_lastKeyDown = Key.getCode(); m_app.sendEvent(event); } --- 136,140 ---- buildModifierFlags(), m_timeOffset+getTimer(), null /* window */, null /*contact*/, String.fromCharCode(Key.getAscii()), String.fromCharCode(Key.getAscii()), (m_lastKeyDown == Key.getCode()), Key.getCode()); ! m_lastKeyDown = Key.getCode(); m_app.sendEvent(event); } |