Clear out our back buffer when we're validated (as we probably changed

sizes).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1037 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-02-19 07:19:04 +00:00
parent 7db44c5ee3
commit 3e68fd8994
@@ -1,5 +1,5 @@
//
// $Id: AnimatedPanel.java,v 1.13 2002/02/19 05:03:17 mdb Exp $
// $Id: AnimatedPanel.java,v 1.14 2002/02/19 07:19:04 mdb Exp $
package com.threerings.media.animation;
@@ -136,6 +136,15 @@ public class AnimatedPanel extends Canvas implements AnimatedView
paint(g);
}
// documentation inherited
public void validate ()
{
super.validate();
// if we change size, clear out our old back buffer
_backimg = null;
}
// documentation inherited
public void paintImmediately (List invalidRects)
{