Let the animated panel handle invalidating the regions exposed by
scrolling so that it can do so with the actual dimensions of the panel (the scene view only knows how big its model wants to be). Changed scrollView to viewWillScroll to more accurately reflect what's going on. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1036 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: SceneViewPanel.java,v 1.30 2002/02/19 01:24:59 mdb Exp $
|
||||
// $Id: SceneViewPanel.java,v 1.31 2002/02/19 05:03:17 mdb Exp $
|
||||
|
||||
package com.threerings.miso.scene;
|
||||
|
||||
@@ -121,7 +121,7 @@ public class SceneViewPanel extends AnimatedPanel
|
||||
*/
|
||||
protected void viewWillScroll (int dx, int dy)
|
||||
{
|
||||
_view.scrollView(dx, dy);
|
||||
_view.viewWillScroll(dx, dy);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user