Skip to content

Commit

Permalink
fix 1000x wrong flutter#6137
Browse files Browse the repository at this point in the history
  • Loading branch information
fzyzcjy committed Oct 10, 2022
1 parent a508aa5 commit 8abc353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/window.dart
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ abstract class FlutterView {
/// scheduling of frames.
/// * [RendererBinding], the Flutter framework class which manages layout and
/// painting.
void render(Scene scene, {Duration? fallbackVsyncTargetTime}) => _render(scene, fallbackVsyncTargetTime?.inMicroseconds ?? -1);
void render(Scene scene, {Duration? fallbackVsyncTargetTime}) => _render(scene, fallbackVsyncTargetTime?.inMicroseconds * 1000 ?? -1);

@FfiNative<Void Function(Pointer<Void>, Int64)>('PlatformConfigurationNativeApi::Render')
external static void _render(Scene scene, int fallbackVsyncTargetTime);
Expand Down

0 comments on commit 8abc353

Please sign in to comment.