don't allow the top view to be scrolled
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15278 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -331,7 +331,7 @@ WindowLayer::ScrollViewBy(ViewLayer* view, int32 dx, int32 dy)
|
|||||||
// from executing this at the same time as the window
|
// from executing this at the same time as the window
|
||||||
// is doing something else here!
|
// is doing something else here!
|
||||||
|
|
||||||
if (!view || (dx == 0 && dy == 0))
|
if (!view || view == fTopLayer || (dx == 0 && dy == 0))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (fDesktop && fDesktop->ReadLockClipping()) {
|
if (fDesktop && fDesktop->ReadLockClipping()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user