TF-4014 Fix copy and paste images is broken after going full screen

This commit is contained in:
dab246
2025-09-15 15:25:33 +07:00
committed by Dat H. Pham
parent 03694d8848
commit 9abde49c62
5 changed files with 12 additions and 10 deletions
@@ -56,7 +56,7 @@ class DesktopResponsiveContainerView extends StatelessWidget {
height: composerManager.composerIdsQueue.length > 1
? DesktopResponsiveContainerViewStyle.normalScreenMaxHeight
: responsiveUtils.getSizeScreenHeight(context) * 0.85,
child: LayoutBuilder(builder: (context, constraints) =>
child: LayoutBuilder(builder: (_, constraints) =>
PointerInterceptor(
child: childBuilder.call(context, constraints),
)
@@ -80,7 +80,7 @@ class DesktopResponsiveContainerView extends StatelessWidget {
color: DesktopResponsiveContainerViewStyle.backgroundColor,
width: maxWidth,
height: maxHeight,
child: LayoutBuilder(builder: (context, constraints) =>
child: LayoutBuilder(builder: (_, constraints) =>
PointerInterceptor(
child: childBuilder.call(context, constraints)
)
@@ -15,7 +15,7 @@ class MobileResponsiveContainerView extends StatelessWidget {
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: MobileResponsiveContainerViewStyle.outSideBackgroundColor,
body: LayoutBuilder(builder: (context, constraints) =>
body: LayoutBuilder(builder: (_, constraints) =>
PointerInterceptor(
child: childBuilder.call(context, constraints)
)
@@ -30,7 +30,7 @@ class TabletResponsiveContainerView extends StatelessWidget {
child: Container(
color: TabletResponsiveContainerViewStyle.backgroundColor,
width: TabletResponsiveContainerViewStyle.getWidth(context, _responsiveUtils),
child: LayoutBuilder(builder: (context, constraints) =>
child: LayoutBuilder(builder: (_, constraints) =>
PointerInterceptor(
child: childBuilder.call(context, constraints)
)