style(recommend): 收窄观看全集按钮
This commit is contained in:
1 parent
3690fb1bc4
commit
5abee5f69a
3 files changed
+45
-29
No files matched your search
@@ -659,6 +659,11 @@ void main() {
|
||||
|
||||
final bar = tester.getRect(find.byKey(const Key('home-feed-full-series')));
|
||||
expect(bar.height, 44);
|
||||
final overlayRect = tester.getRect(
|
||||
find.byKey(const Key('home-feed-gesture')),
|
||||
);
|
||||
expect(bar.left, closeTo(overlayRect.left + 14, 0.1));
|
||||
expect(bar.width, closeTo(overlayRect.width * 0.7, 1));
|
||||
final buttonBackground =
|
||||
tester
|
||||
.widget<DecoratedBox>(
|
||||
|
||||
Reference in new issue
Block a user