Tweak smallpaths so new paths will show up in GM.
The height of the GM was clipping off the new paths added to it. Change-Id: Id0d0fcff8a85b9a96c16a9cce0690ad16e608606 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/261094 Auto-Submit: Jim Van Verth <jvanverth@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
This commit is contained in:
parent
a8352ccaae
commit
2e57c132be
@ -158,7 +158,7 @@ static SkScalar make_battery2(SkPath* path) {
|
||||
path->lineTo(10.907918f + xOffset, 12.886665f);
|
||||
path->close();
|
||||
|
||||
return SkIntToScalar(70);
|
||||
return SkIntToScalar(60);
|
||||
}
|
||||
|
||||
static SkScalar make_ring(SkPath* path) {
|
||||
@ -316,7 +316,7 @@ protected:
|
||||
}
|
||||
|
||||
SkISize onISize() override {
|
||||
return SkISize::Make(640, 480);
|
||||
return SkISize::Make(640, 512);
|
||||
}
|
||||
|
||||
void onDraw(SkCanvas* canvas) override {
|
||||
|
Loading…
Reference in New Issue
Block a user