* quick fix for when fBitmap has been recomposed

partly, fDisplayBitmap is not correctly re-established...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15887 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2006-01-09 11:24:08 +00:00
parent 37a3ed9263
commit 93d1b9f406

View File

@ -896,6 +896,10 @@ ShowImageView::DrawImage(BRect rect)
}
}
}
// TODO: fix composing of fBitmap with other bitmaps
// with regard to alpha channel
if (!fDisplayBitmap)
fDisplayBitmap = fBitmap;
DrawBitmap(fDisplayBitmap, fDisplayBitmap->Bounds(), rect);
}