mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-23 15:08:07 +02:00
fix: remove scrollbar in fullscreen and black gradient on EPG overlay
This commit is contained in:
1 parent
5541a73c41
commit
8ee9c1de99
1 file changed
+4
-12
@@ -689,7 +689,8 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
|
|||||||
) : null,
|
) : null,
|
||||||
extendBodyBehindAppBar: true,
|
extendBodyBehindAppBar: true,
|
||||||
backgroundColor: Colors.black,
|
backgroundColor: Colors.black,
|
||||||
body: MouseRegion(
|
body: ClipRect(
|
||||||
|
child: MouseRegion(
|
||||||
onHover: (_) => _onHover(),
|
onHover: (_) => _onHover(),
|
||||||
child: _errorMessage != null
|
child: _errorMessage != null
|
||||||
? Center(
|
? Center(
|
||||||
@@ -956,16 +957,7 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
|
|||||||
bottom: 100, // Move up above progress bar area/OS safe area
|
bottom: 100, // Move up above progress bar area/OS safe area
|
||||||
left: 0,
|
left: 0,
|
||||||
right: 0,
|
right: 0,
|
||||||
child: Container(
|
child: PointerInterceptor(
|
||||||
padding: const EdgeInsets.only(bottom: 8),
|
|
||||||
decoration: const BoxDecoration(
|
|
||||||
gradient: LinearGradient(
|
|
||||||
begin: Alignment.bottomCenter,
|
|
||||||
end: Alignment.topCenter,
|
|
||||||
colors: [Colors.black87, Colors.transparent],
|
|
||||||
),
|
|
||||||
),
|
|
||||||
child: PointerInterceptor(
|
|
||||||
child: EpgOverlay(
|
child: EpgOverlay(
|
||||||
streamId: widget.channels != null
|
streamId: widget.channels != null
|
||||||
? widget.channels![_currentIndex].streamId
|
? widget.channels![_currentIndex].streamId
|
||||||
@@ -973,7 +965,6 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
|
|||||||
playlist: widget.playlist,
|
playlist: widget.playlist,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
||||||
@@ -998,6 +989,7 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user