Painting images should not anti-alias (improves performance)
This commit is contained in:
parent
f864ec267a
commit
6e37b51c0e
@ -456,7 +456,7 @@ void paintImage({
|
||||
break;
|
||||
}
|
||||
// TODO(abarth): Implement |repeat|.
|
||||
Paint paint = new Paint();
|
||||
Paint paint = new Paint()..isAntiAlias = false;
|
||||
if (colorFilter != null)
|
||||
paint.colorFilter = colorFilter;
|
||||
double dx = (bounds.width - destinationSize.width) * positionX;
|
||||
|
Loading…
x
Reference in New Issue
Block a user