Skip to content

Commit

Permalink
read page color
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangtian616 committed Nov 5, 2024
1 parent f6fa91e commit e013729
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions lib/src/pages/read/read_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,21 @@ class _ReadPageState extends State<ReadPage> 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),
],
),
),
),
),
Expand Down Expand Up @@ -137,7 +140,7 @@ class _ReadPageState extends State<ReadPage> with ScrollStatusListener, WindowLi
Widget child = GetBuilder<ReadPageLogic>(
id: logic.layoutId,
builder: (_) {
return LayoutBuilder(
return LayoutBuilder(
builder: (context, constraints) {
logic.clearImageContainerSized();
state.displayRegionSize = Size(constraints.maxWidth, constraints.maxHeight);
Expand Down

0 comments on commit e013729

Please sign in to comment.