Skip to content
This repository has been archived by the owner on Feb 25, 2025. It is now read-only.

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jenn Magder <[email protected]>
  • Loading branch information
Chris Yang and jmagman authored Feb 15, 2023
1 parent 7a6ae51 commit 4bbf646
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/scenario_app/lib/src/platform_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ class PlatformViewClipRectAfterMovedScenario extends Scenario with _BasePlatform
..pushClipRect(const Rect.fromLTRB(100, 100, 400, 400));

addPlatformView(
_numberOfFrames == 10? 10000:id,
_numberOfFrames == 10 ? 10000 :id,
dispatcher: dispatcher,
sceneBuilder: builder,
);
Expand All @@ -620,7 +620,7 @@ class PlatformViewClipRectAfterMovedScenario extends Scenario with _BasePlatform
@override
void onDrawFrame() {
if (_numberOfFrames < 10) {
_numberOfFrames ++;
_numberOfFrames++;
_y -= 10;
window.scheduleFrame();
}
Expand Down

0 comments on commit 4bbf646

Please sign in to comment.