mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 22:23:52 +00:00
Require iOS 13.4.1 to enable pointer interaction to avoid crashing on beta iOS 13.4 builds
This commit is contained in:
@@ -62,7 +62,7 @@ static UIImage* noImage;
|
|||||||
self.layer.shouldRasterize = YES;
|
self.layer.shouldRasterize = YES;
|
||||||
self.layer.rasterizationScale = [UIScreen mainScreen].scale;
|
self.layer.rasterizationScale = [UIScreen mainScreen].scale;
|
||||||
|
|
||||||
if (@available(iOS 13.4, *)) {
|
if (@available(iOS 13.4.1, *)) {
|
||||||
// Allow the button style to change when moused over
|
// Allow the button style to change when moused over
|
||||||
self.pointerInteractionEnabled = YES;
|
self.pointerInteractionEnabled = YES;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ static const int LABEL_DY = 20;
|
|||||||
[self addSubview:_hostOverlay];
|
[self addSubview:_hostOverlay];
|
||||||
[self addSubview:_hostSpinner];
|
[self addSubview:_hostSpinner];
|
||||||
|
|
||||||
if (@available(iOS 13.4, *)) {
|
if (@available(iOS 13.4.1, *)) {
|
||||||
// Allow the button style to change when moused over
|
// Allow the button style to change when moused over
|
||||||
self.pointerInteractionEnabled = YES;
|
self.pointerInteractionEnabled = YES;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user