Fix #8781. Display rotated images with alpha channel properly

Signed-off-by: Axel Dörfler <[email protected]>
This commit is contained in:
Janus
2013-02-07 23:01:11 +01:00
committed by Axel Dörfler
parent 51fe39ae0f
commit 74e14f5c70
+3
View File
@@ -1714,6 +1714,9 @@ ShowImageView::_DoImageOperation(ImageProcessor::operation op, bool quiet)
_DeleteBitmap();
fBitmap = bm;
if (fBitmap->ColorSpace() == B_RGBA32)
fDisplayBitmap = compose_checker_background(fBitmap);
if (!quiet) {
// remove selection
_SetHasSelection(false);