mirror of https://github.com/LIJI32/SameBoy.git
Fix multi touch
This commit is contained in:
parent
392bc8c0d9
commit
ece40bcf0e
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue