Skip to content

Commit 688f826

Browse files
authored
Revert "Remove paint apply in draw image (flutter#15969)"
This reverts commit f633caf.
1 parent 20a4268 commit 688f826

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/web_ui/lib/src/engine/bitmap_canvas.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ class BitmapCanvas extends EngineCanvas {
394394
!requiresClipping) {
395395
drawImage(image, dst.topLeft, paint);
396396
} else {
397+
_applyPaint(paint);
397398
final html.Element imgElement = htmlImage.cloneImageElement();
398399
final ui.BlendMode blendMode = paint.blendMode;
399400
imgElement.style.mixBlendMode = _stringForBlendMode(blendMode);

0 commit comments

Comments
 (0)