Revert "Tracker: Don't sort poses in BPoseView::AddPosesCompleted()."
Sort poses again now that #20018 and #20050 are fixed. Fixes #20255.
This reverts commit 9c6b7508fc.
Change-Id: I454bf0e042df64a490cf95ba6aeb6fcc72607adb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11545
Reviewed-by: waddlesplash <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Tested-by: Commit checker robot <[email protected]>
(cherry picked from commit a73fba660796f3e9b8f87d15eac231645967f808)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11548
This commit is contained in:
committed by
waddlesplash
parent
aac110fbc0
commit
cbe5f5d3ec
@@ -1729,6 +1729,9 @@ BPoseView::AddPosesCompleted()
|
||||
float lastItemTop = (CurrentPoseList()->CountItems() - 1) * fListElemHeight;
|
||||
if (bounds.top > lastItemTop)
|
||||
_inherited::ScrollTo(bounds.left, std::max(lastItemTop, 0.0f));
|
||||
|
||||
SortPoses();
|
||||
Invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user