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:
Michael Bayne
2002-02-19 05:03:17 +00:00
parent d6ad960a14
commit 7db44c5ee3
4 changed files with 28 additions and 54 deletions
@@ -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);
}
/**