Tracker: Never scroll Desktop, fixes #20046
Change-Id: I33d05009956585577c02741e851741600b7d9002 Reviewed-on: https://review.haiku-os.org/c/haiku/+/10821 Haiku-Format: Haiku-format Bot <[email protected]> Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
6832fbac47
commit
b8bae43e9b
@@ -987,6 +987,10 @@ BPoseView::Pulse()
|
||||
void
|
||||
BPoseView::ScrollTo(BPoint where)
|
||||
{
|
||||
// never scroll Desktop
|
||||
if (IsDesktopView())
|
||||
return;
|
||||
|
||||
_inherited::ScrollTo(where);
|
||||
|
||||
// keep the view state in sync
|
||||
|
||||
Reference in New Issue
Block a user