flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject svn commit: r1436802 - /flex/sdk/branches/develop/mustella/as3/src/mustella/FakeSoftKeyboard.as
Date Tue, 22 Jan 2013 08:50:08 GMT
Author: aharui
Date: Tue Jan 22 08:50:07 2013
New Revision: 1436802

URL: http://svn.apache.org/viewvc?rev=1436802&view=rev
Log:
one more fix to fake softkeybd

Modified:
    flex/sdk/branches/develop/mustella/as3/src/mustella/FakeSoftKeyboard.as

Modified: flex/sdk/branches/develop/mustella/as3/src/mustella/FakeSoftKeyboard.as
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/as3/src/mustella/FakeSoftKeyboard.as?rev=1436802&r1=1436801&r2=1436802&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/as3/src/mustella/FakeSoftKeyboard.as (original)
+++ flex/sdk/branches/develop/mustella/as3/src/mustella/FakeSoftKeyboard.as Tue Jan 22 08:50:07
2013
@@ -92,15 +92,15 @@ public class FakeSoftKeyboard 
 			{
 				kbd.height = portraitHeight;
 				kbd.width = root.stage.stageWidth;
-				root["document"][kbdrect] = new Rectangle(0, 0, kbd.width, kbd.height);
 				kbd.y = root.stage.stageHeight - portraitHeight;
+				root["document"][kbdrect] = new Rectangle(0, kbd.y, kbd.width, kbd.height);
 			}
 			else
 			{
 				kbd.height = landscapeHeight;
 				kbd.width = root.stage.stageWidth;
-				root["document"][kbdrect] = new Rectangle(0, 0, kbd.width, kbd.height);
 				kbd.y = root.stage.stageHeight - landscapeHeight;
+				root["document"][kbdrect] = new Rectangle(0, kbd.y, kbd.width, kbd.height);
 			}
 			trace("sent softKeyboardActivate from", comp);
 			comp.dispatchEvent(new SoftKeyboardEvent(SoftKeyboardEvent.SOFT_KEYBOARD_ACTIVATE, 



Mime
View raw message