From bbf16bc67a8ad632d3d6f890fab2a191b6c03970 Mon Sep 17 00:00:00 2001 From: David Murphy Date: Mon, 6 Aug 2018 02:46:10 -0400 Subject: [PATCH] HaikuDepot: Fix featured package icon drawing transparency Change-Id: I4ed26754ef5c0bfb0638de1703ece7d84fadf12a Reviewed-on: https://review.haiku-os.org/443 Reviewed-by: Andrew Lindesay --- src/apps/haikudepot/ui_generic/BitmapView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/haikudepot/ui_generic/BitmapView.cpp b/src/apps/haikudepot/ui_generic/BitmapView.cpp index e00e122701..9eab1a8d3a 100644 --- a/src/apps/haikudepot/ui_generic/BitmapView.cpp +++ b/src/apps/haikudepot/ui_generic/BitmapView.cpp @@ -86,7 +86,7 @@ BitmapView::Draw(BRect updateRect) bounds.right = ceilf(bounds.left + width); bounds.bottom = ceilf(bounds.top + height); - SetDrawingMode(B_OP_OVER); + SetDrawingMode(B_OP_ALPHA); DrawBitmap(fBitmap, bitmapBounds, bounds, B_FILTER_BITMAP_BILINEAR); }