* 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:
parent
581e498d5b
commit
faf42dfe78
@ -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!
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user