perf(editor): native Windows preview and UI-first timeline navigation (#11)
Gitea CI / Check code and tests (push) Successful in 8m7s
Gitea CI / Build Windows x64 app (push) Successful in 5m48s
Gitea CI / Build Android APK (push) Successful in 5m59s
Gitea CI / Audit and package Windows x64 (push) Successful in 1m17s
Gitea CI / Assemble and validate CI artifacts (push) Successful in 1m22s
Gitea CI / Gitea CI passed (push) Successful in 2s
Gitea CI / Check code and tests (push) Successful in 8m7s
Gitea CI / Build Windows x64 app (push) Successful in 5m48s
Gitea CI / Build Android APK (push) Successful in 5m59s
Gitea CI / Audit and package Windows x64 (push) Successful in 1m17s
Gitea CI / Assemble and validate CI artifacts (push) Successful in 1m22s
Gitea CI / Gitea CI passed (push) Successful in 2s
This commit was merged in pull request #11.
This commit is contained in:
1 parent
0ecf920669
commit
b4cb12cbe3
36 files changed
+3292
-148
No files matched your search
@@ -3608,7 +3608,12 @@ void main() {
|
||||
of: find.byKey(const Key('timeline-toolbar')),
|
||||
matching: find.byType(IconButton),
|
||||
);
|
||||
expect(toolbarButtons, findsNWidgets(6));
|
||||
expect(toolbarButtons, findsNWidgets(7));
|
||||
final fitButton = find.byKey(const ValueKey('timeline-fit'));
|
||||
expect(
|
||||
tester.widget<IconButton>(fitButton).tooltip,
|
||||
localized.fitTimeline,
|
||||
);
|
||||
final toolbarBounds = tester.getRect(
|
||||
find.byKey(const Key('timeline-toolbar')),
|
||||
);
|
||||
@@ -3620,7 +3625,9 @@ void main() {
|
||||
final bounds = tester.getRect(
|
||||
find.byElementPredicate((e) => e == button),
|
||||
);
|
||||
buttonBounds.add(bounds);
|
||||
if (button.widget.key != const ValueKey('timeline-fit')) {
|
||||
buttonBounds.add(bounds);
|
||||
}
|
||||
expect(
|
||||
bounds.size,
|
||||
const Size(AppControlSize.headerButton, AppControlSize.headerButton),
|
||||
@@ -3628,6 +3635,10 @@ void main() {
|
||||
expect((button.widget as IconButton).iconSize, AppIconSize.header);
|
||||
}
|
||||
expect(buttonBounds.first.left - panelBounds.left, AppSpacing.gap);
|
||||
expect(
|
||||
panelBounds.right - tester.getRect(fitButton).right,
|
||||
AppSpacing.gap,
|
||||
);
|
||||
for (var i = 1; i < buttonBounds.length; i++) {
|
||||
expect(
|
||||
buttonBounds[i].left - buttonBounds[i - 1].right,
|
||||
|
||||
Reference in new issue
Block a user