Fix multi touch

This commit is contained in:
Lior Halphon 2024-09-12 21:06:11 +03:00
parent 392bc8c0d9
commit ece40bcf0e
1 changed files with 1 additions and 0 deletions

View File

@ -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];