feat(app): previous/next for visits, artifacts and diffs are chevrons in one row at the bottom right
This commit is contained in:
@@ -161,12 +161,6 @@ class _ChangesViewerState extends State<ChangesViewer> {
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
ChangesVisitPager(
|
||||
index: _visitIndex,
|
||||
count: captures.length,
|
||||
onPrevious: () => _stepVisit(-1),
|
||||
onNext: () => _stepVisit(1),
|
||||
),
|
||||
StageCaptureSection(
|
||||
stage: visit,
|
||||
query: _query,
|
||||
@@ -184,6 +178,14 @@ class _ChangesViewerState extends State<ChangesViewer> {
|
||||
),
|
||||
),
|
||||
),
|
||||
// Previous/next visit sit at the bottom right, under the visit.
|
||||
if (visit != null)
|
||||
ChangesVisitPager(
|
||||
index: _visitIndex,
|
||||
count: captures.length,
|
||||
onPrevious: () => _stepVisit(-1),
|
||||
onNext: () => _stepVisit(1),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user