This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 2 files changed +8
-8
lines changed
shell/platform/darwin/ios/framework/Source 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -465,8 +465,8 @@ static bool ClipBoundsContainsPlatformViewBoundingRect(const SkRect& clip_bounds
465
465
break ;
466
466
}
467
467
ClipViewAddMaskView (clipView);
468
- [(FlutterClippingMaskView* )clipView.maskView clipRect: (*iter)->GetRect ()
469
- matrix: transformMatrix];
468
+ [(FlutterClippingMaskView*)clipView.maskView clipRect: (*iter)->GetRect ()
469
+ matrix: transformMatrix];
470
470
break ;
471
471
}
472
472
case kClipRRect : {
@@ -475,8 +475,8 @@ static bool ClipBoundsContainsPlatformViewBoundingRect(const SkRect& clip_bounds
475
475
break ;
476
476
}
477
477
ClipViewAddMaskView (clipView);
478
- [(FlutterClippingMaskView* )clipView.maskView clipRRect: (*iter)->GetRRect ()
479
- matrix: transformMatrix];
478
+ [(FlutterClippingMaskView*)clipView.maskView clipRRect: (*iter)->GetRRect ()
479
+ matrix: transformMatrix];
480
480
break ;
481
481
}
482
482
case kClipPath : {
@@ -485,8 +485,8 @@ static bool ClipBoundsContainsPlatformViewBoundingRect(const SkRect& clip_bounds
485
485
break ;
486
486
}
487
487
ClipViewAddMaskView (clipView);
488
- [(FlutterClippingMaskView* )clipView.maskView clipPath: (*iter)->GetPath ()
489
- matrix: transformMatrix];
488
+ [(FlutterClippingMaskView*)clipView.maskView clipPath: (*iter)->GetPath ()
489
+ matrix: transformMatrix];
490
490
break ;
491
491
}
492
492
case kOpacity :
Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ - (void)setMaxRefreshRateIfEnabled {
82
82
if (![minimumFrameRateDisabled boolValue ]) {
83
83
return ;
84
84
}
85
- // double maxFrameRate = fmax([DisplayLinkManager displayRefreshRate], 60);
86
- double maxFrameRate = 60 ;
85
+ double maxFrameRate = fmax ([DisplayLinkManager displayRefreshRate ], 60 );
86
+ // double maxFrameRate = 60;
87
87
double minFrameRate = fmax (maxFrameRate / 2 , 60 );
88
88
89
89
if (@available (iOS 15.0 , *)) {
You can’t perform that action at this time.
0 commit comments