From 7aeae0d4c3304a54f493e0827bb32dce945f0fb0 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Tue, 15 Apr 2003 00:39:20 +0000 Subject: [PATCH] Change removeAnimation() to abortAnimation(); that's what is happening. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2410 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/media/MediaPanel.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/java/com/threerings/media/MediaPanel.java b/src/java/com/threerings/media/MediaPanel.java index 91ff9683d..8ce84b583 100644 --- a/src/java/com/threerings/media/MediaPanel.java +++ b/src/java/com/threerings/media/MediaPanel.java @@ -1,5 +1,5 @@ // -// $Id: MediaPanel.java,v 1.31 2003/04/01 03:38:03 mdb Exp $ +// $Id: MediaPanel.java,v 1.32 2003/04/15 00:39:20 mdb Exp $ package com.threerings.media; @@ -158,7 +158,8 @@ public class MediaPanel extends JComponent } /** - * Adds an animation to this panel. + * Adds an animation to this panel. Animations are automatically + * removed when they finish. */ public void addAnimation (Animation anim) { @@ -166,9 +167,11 @@ public class MediaPanel extends JComponent } /** - * Removes an animation from this panel. + * Aborts a currently running animation and removes it from this + * panel. Animations are normally automatically removed when they + * finish. */ - public void removeAnimation (Animation anim) + public void abortAnimation (Animation anim) { _animmgr.unregisterAnimation(anim); }