Added TODO note about making sure that B_FRAWE_EVENTS is part of the flags

as soon as a scroll view is controlling the list view. Otherwise scroll bars
are not updated if FrameEvents() is not called. I can imagine problems, though,
if an application did not set B_FRAWE_EVENTS on purpose and is controlling
the scroll bars itself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35035 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2010-01-12 22:09:15 +00:00
parent bebd84f847
commit e74e04d656
1 changed files with 3 additions and 0 deletions

View File

@ -256,6 +256,9 @@ void
BListView::TargetedByScrollView(BScrollView *view)
{
fScrollView = view;
// TODO: We could SetFlags(Flags() | B_FRAME_EVENTS) here, but that
// may mess up application code which manages this by some other means
// and doesn't want us to be messing with flags.
}