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

Commit 48cb970

Browse files
author
a-wallen
committed
Revisions
1 parent 94653aa commit 48cb970

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

lib/ui/platform_dispatcher.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ class PlatformDispatcher {
226226
}
227227
_viewConfigurations[id] = previousConfiguration.copyWith(
228228
view: _views[id],
229+
window: _views[id],
229230
devicePixelRatio: devicePixelRatio,
230231
geometry: Rect.fromLTWH(0.0, 0.0, width, height),
231232
viewPadding: WindowPadding._(

lib/web_ui/lib/platform_dispatcher.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ class ViewConfiguration {
208208

209209
ViewConfiguration copyWith({
210210
FlutterView? view,
211+
FlutterView? window,
211212
double? devicePixelRatio,
212213
Rect? geometry,
213214
bool? visible,
@@ -220,6 +221,7 @@ class ViewConfiguration {
220221
}) {
221222
return ViewConfiguration(
222223
view: view ?? this.view,
224+
window: window ?? this.window,
223225
devicePixelRatio: devicePixelRatio ?? this.devicePixelRatio,
224226
geometry: geometry ?? this.geometry,
225227
visible: visible ?? this.visible,

0 commit comments

Comments
 (0)