If we're using a path to drive the view, we need to let it know when we
scroll. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1442 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: MediaPanel.java,v 1.12 2002/06/11 21:40:52 mdb Exp $
|
||||
// $Id: MediaPanel.java,v 1.13 2002/06/12 00:51:24 mdb Exp $
|
||||
|
||||
package com.threerings.media;
|
||||
|
||||
@@ -604,7 +604,10 @@ public class MediaPanel extends JComponent
|
||||
*/
|
||||
protected void viewWillScroll (int dx, int dy, long tickStamp)
|
||||
{
|
||||
// nothing to do here
|
||||
// if we have a path, let it know that we're scrolling
|
||||
if (_path != null) {
|
||||
_path.viewWillScroll(dx, dy);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user