Fix #8781. Display rotated images with alpha channel properly
Signed-off-by: Axel Dörfler <[email protected]>
This commit is contained in:
@@ -1714,6 +1714,9 @@ ShowImageView::_DoImageOperation(ImageProcessor::operation op, bool quiet)
|
|||||||
_DeleteBitmap();
|
_DeleteBitmap();
|
||||||
fBitmap = bm;
|
fBitmap = bm;
|
||||||
|
|
||||||
|
if (fBitmap->ColorSpace() == B_RGBA32)
|
||||||
|
fDisplayBitmap = compose_checker_background(fBitmap);
|
||||||
|
|
||||||
if (!quiet) {
|
if (!quiet) {
|
||||||
// remove selection
|
// remove selection
|
||||||
_SetHasSelection(false);
|
_SetHasSelection(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user