Skip to content

Commit

Permalink
Revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
a-wallen committed Dec 22, 2022
1 parent 94653aa commit 48cb970
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/ui/platform_dispatcher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ class PlatformDispatcher {
}
_viewConfigurations[id] = previousConfiguration.copyWith(
view: _views[id],
window: _views[id],
devicePixelRatio: devicePixelRatio,
geometry: Rect.fromLTWH(0.0, 0.0, width, height),
viewPadding: WindowPadding._(
Expand Down
2 changes: 2 additions & 0 deletions lib/web_ui/lib/platform_dispatcher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ class ViewConfiguration {

ViewConfiguration copyWith({
FlutterView? view,
FlutterView? window,
double? devicePixelRatio,
Rect? geometry,
bool? visible,
Expand All @@ -220,6 +221,7 @@ class ViewConfiguration {
}) {
return ViewConfiguration(
view: view ?? this.view,
window: window ?? this.window,
devicePixelRatio: devicePixelRatio ?? this.devicePixelRatio,
geometry: geometry ?? this.geometry,
visible: visible ?? this.visible,
Expand Down

0 comments on commit 48cb970

Please sign in to comment.