increase gm offsetimagefilter stroke width
With a hairline width, offsetimagefilter fails to draw the rectangle on some platforms. Make the width 2 so that it shows up everywhere. TBR=reed@google.com Review URL: https://codereview.chromium.org/1236133003
This commit is contained in:
parent
8a955af001
commit
5f7f428844
@ -57,6 +57,7 @@ protected:
|
||||
if (clipRect.intersect(cropRectFloat)) {
|
||||
SkPaint strokePaint;
|
||||
strokePaint.setStyle(SkPaint::kStroke_Style);
|
||||
strokePaint.setStrokeWidth(2);
|
||||
strokePaint.setColor(SK_ColorRED);
|
||||
canvas->drawRect(clipRect, strokePaint);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user