* Disabled calling _FontChanged() on SetFont() - since any item can temporarily

change the font in its DrawItem() method, this is not the way to go.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34023 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-11-13 16:46:16 +00:00
parent 581e498d5b
commit faf42dfe78
1 changed files with 4 additions and 1 deletions

View File

@ -655,7 +655,10 @@ void
BListView::SetFont(const BFont* font, uint32 mask)
{
BView::SetFont(font, mask);
_FontChanged();
//_FontChanged();
// TODO: this absolutely kills the performance, if a BListItem
// changes the font when drawing - if this should be called at all,
// it should only be done outside any updates!
}