diff --git a/lib/src/pages/read/read_page.dart b/lib/src/pages/read/read_page.dart index 3a51537b..373f4ef6 100644 --- a/lib/src/pages/read/read_page.dart +++ b/lib/src/pages/read/read_page.dart @@ -92,18 +92,21 @@ class _ReadPageState extends State with ScrollStatusListener, WindowLi fontSize: 12, decoration: TextDecoration.none, ), - child: Stack( - children: [ - EHReadPageStack( - children: [ - buildGestureRegion(), - buildLayout(), - ], - ), - buildRightBottomInfo(context), - buildTopMenu(context), - buildBottomMenu(context), - ], + child: Container( + color: Colors.black, + child: Stack( + children: [ + EHReadPageStack( + children: [ + buildGestureRegion(), + buildLayout(), + ], + ), + buildRightBottomInfo(context), + buildTopMenu(context), + buildBottomMenu(context), + ], + ), ), ), ), @@ -137,7 +140,7 @@ class _ReadPageState extends State with ScrollStatusListener, WindowLi Widget child = GetBuilder( id: logic.layoutId, builder: (_) { - return LayoutBuilder( + return LayoutBuilder( builder: (context, constraints) { logic.clearImageContainerSized(); state.displayRegionSize = Size(constraints.maxWidth, constraints.maxHeight);