Skip to content

Commit bb274b4

Browse files
committed
ANDROID: redraw after set focus
1 parent 344d433 commit bb274b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/platform/android/jni/runtime.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ void handleCommand(android_app *app, int32_t cmd) {
8989
case APP_CMD_GAINED_FOCUS:
9090
trace("gainedFocus");
9191
runtime->setFocus(true);
92+
runtime->redraw();
9293
break;
9394
case APP_CMD_LOST_FOCUS:
9495
trace("lostFocus");

0 commit comments

Comments
 (0)