Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit c2e3185

Browse files
committed
Adjust golden tests
1 parent 9e809b4 commit c2e3185

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/web_ui/test/html/shaders/gradient_golden_test.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -484,12 +484,12 @@ Future<void> testMain() async {
484484
const List<double> stops = <double>[0.0, 0.05, 0.4, 0.6, 0.9, 1.0];
485485

486486
final Matrix4 transform = Matrix4.identity()
487-
..translate(100, 150)
487+
..translate(50, 50)
488488
..scale(0.3, 0.7)
489489
..rotateZ(0.5);
490490

491491
final GradientLinear linearGradient = GradientLinear(
492-
const Offset(50, 50),
492+
const Offset(5, 5),
493493
const Offset(200, 130),
494494
colors,
495495
stops,
@@ -597,13 +597,13 @@ Future<void> testMain() async {
597597
const List<double> stops = <double>[0.0, 0.05, 0.4, 0.6, 0.9, 1.0];
598598

599599
final Matrix4 transform = Matrix4.identity()
600-
..translate(100, 150)
600+
..translate(50, 50)
601601
..scale(0.3, 0.7)
602602
..rotateZ(0.5);
603603

604604
final GradientRadial radialGradient = GradientRadial(
605605
const Offset(0.5, 0.5),
606-
50,
606+
400,
607607
colors,
608608
stops,
609609
TileMode.clamp,

0 commit comments

Comments
 (0)