This commit is contained in:
Ming Ming 2024-06-22 14:11:38 +08:00
parent b660126f60
commit c6e872d26b

View file

@ -180,14 +180,20 @@ class _ViewerDetailPaneState extends State<ViewerDetailPane> {
left: 0, left: 0,
top: 0, top: 0,
bottom: 0, bottom: 0,
child: Icon(Icons.keyboard_arrow_left), child: Opacity(
opacity: .5,
child: Icon(Icons.keyboard_arrow_left),
),
), ),
if (_hasRightButton) if (_hasRightButton)
const Positioned( const Positioned(
right: 0, right: 0,
top: 0, top: 0,
bottom: 0, bottom: 0,
child: Icon(Icons.keyboard_arrow_right), child: Opacity(
opacity: .5,
child: Icon(Icons.keyboard_arrow_right),
),
), ),
SingleChildScrollView( SingleChildScrollView(
scrollDirection: Axis.horizontal, scrollDirection: Axis.horizontal,
@ -243,6 +249,11 @@ class _ViewerDetailPaneState extends State<ViewerDetailPane> {
label: L10n.global().slideshowTooltip, label: L10n.global().slideshowTooltip,
onPressed: widget.onSlideshowPressed, onPressed: widget.onSlideshowPressed,
), ),
_DetailPaneButton(
icon: Icons.slideshow_outlined,
label: L10n.global().slideshowTooltip,
onPressed: widget.onSlideshowPressed,
),
], ],
), ),
), ),