Skip to content

Commit

Permalink
8232943: Gesture support is not initialized on iOS
Browse files Browse the repository at this point in the history
Reviewed-by: jvos
  • Loading branch information
Jose Pereda authored and Johan Vos committed Oct 29, 2019
1 parent 5a70b0c commit dca8df4
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -31,6 +31,7 @@
#import "com_sun_glass_events_TouchEvent.h"

#import "GlassStatics.h"
#import "GlassHelper.h"
#import "GlassMacros.h"
#import "GlassWindow.h"

Expand Down Expand Up @@ -382,7 +383,7 @@ - (id)initWithView:(UIScrollView*)view withJview:(jobject)jview

// Ensure JNI stuff related to gesture processing is ready
if (NULL == jGestureSupportClass) {
(*env)->FindClass(env, "com/sun/glass/ui/ios/IosGestureSupport");
[GlassHelper ClassForName:"com.sun.glass.ui.ios.IosGestureSupport" withEnv:env];
}
self.touches = NULL;
self.lastTouchId = 0;
Expand Down

0 comments on commit dca8df4

Please sign in to comment.