Modified the animation manager to monitor the ancestor events
associated with the animated view's component so that the refresh interval can be registered and unregistered based on component visibility. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@311 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ViewerSceneViewPanel.java,v 1.12 2001/08/21 20:02:39 mdb Exp $
|
||||
// $Id: ViewerSceneViewPanel.java,v 1.13 2001/08/23 00:23:58 shaper Exp $
|
||||
|
||||
package com.threerings.miso.viewer;
|
||||
|
||||
@@ -78,14 +78,6 @@ public class ViewerSceneViewPanel extends SceneViewPanel
|
||||
Log.info(name + " [ticks=" + ticks + "].");
|
||||
}
|
||||
|
||||
public void doLayout ()
|
||||
{
|
||||
super.doLayout();
|
||||
|
||||
// now that we've been fully laid out, start animating
|
||||
_animmgr.start();
|
||||
}
|
||||
|
||||
/** MouseListener interface methods */
|
||||
|
||||
public void mousePressed (MouseEvent e)
|
||||
|
||||
Reference in New Issue
Block a user