* 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:
parent
37a3ed9263
commit
93d1b9f406
@ -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);
|
DrawBitmap(fDisplayBitmap, fDisplayBitmap->Bounds(), rect);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user