Drop TODO since the commented code doesn't have any effect and nothing else seems to be
missing either. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42655 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -353,30 +353,8 @@ LanguageListView::MouseMoved(BPoint where, uint32 transit,
|
||||
int32 index = FullListIndexOf(where);
|
||||
if (index < 0)
|
||||
index = FullListCountItems();
|
||||
if (fDropIndex != index) {
|
||||
if (fDropIndex != index)
|
||||
fDropIndex = index;
|
||||
if (fDropIndex >= 0) {
|
||||
// TODO: find out what this was intended for (as it doesn't have any effect)
|
||||
// int32 count = FullListCountItems();
|
||||
// if (fDropIndex == count) {
|
||||
// BRect r;
|
||||
// if (FullListItemAt(count - 1)) {
|
||||
// r = ItemFrame(count - 1);
|
||||
// r.top = r.bottom;
|
||||
// r.bottom = r.top + 1.0;
|
||||
// } else {
|
||||
// r = Bounds();
|
||||
// r.bottom--;
|
||||
// // compensate for scrollbars moved slightly
|
||||
// // out of window
|
||||
// }
|
||||
// } else {
|
||||
// BRect r = ItemFrame(fDropIndex);
|
||||
// r.top--;
|
||||
// r.bottom = r.top + 1.0;
|
||||
// }
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user