From ece40bcf0eab99727a8eacf50649f8ffe7e703a5 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Thu, 12 Sep 2024 21:06:11 +0300 Subject: [PATCH] Fix multi touch --- iOS/GBBackgroundView.m | 1 + 1 file changed, 1 insertion(+) diff --git a/iOS/GBBackgroundView.m b/iOS/GBBackgroundView.m index e061542..90bff61 100644 --- a/iOS/GBBackgroundView.m +++ b/iOS/GBBackgroundView.m @@ -147,6 +147,7 @@ static GB_key_mask_t angleToKeyMask(double angle) _fadeView = [[UIView alloc] initWithFrame:self.frame]; _fadeView.backgroundColor = [UIColor colorWithWhite:0 alpha:0]; _fadeView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; + _fadeView.multipleTouchEnabled = true; [self addSubview:_dpadView]; [self addSubview:_aButtonView];