Remove paint apply in draw image (flutter/engine#15969)

https://github.com/flutter/flutter/issues/49132
This commit is contained in:
Ferhat
2020-01-24 10:39:54 -08:00
committed by GitHub
parent 5919a607b2
commit 4fcba4abfd

View File

@@ -394,7 +394,6 @@ class BitmapCanvas extends EngineCanvas {
!requiresClipping) {
drawImage(image, dst.topLeft, paint);
} else {
_applyPaint(paint);
final html.Element imgElement = htmlImage.cloneImageElement();
final ui.BlendMode blendMode = paint.blendMode;
imgElement.style.mixBlendMode = _stringForBlendMode(blendMode);