Pass the mouse event so that other information can be obtained.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2424 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: MisoScenePanel.java,v 1.3 2003/04/18 23:19:13 mdb Exp $
|
// $Id: MisoScenePanel.java,v 1.4 2003/04/19 00:25:13 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.miso.client;
|
package com.threerings.miso.client;
|
||||||
|
|
||||||
@@ -259,7 +259,7 @@ public class MisoScenePanel extends VirtualMediaPanel
|
|||||||
} else if (_hobject instanceof SceneObject) {
|
} else if (_hobject instanceof SceneObject) {
|
||||||
handleObjectPressed((SceneObject)_hobject, e.getX(), e.getY());
|
handleObjectPressed((SceneObject)_hobject, e.getX(), e.getY());
|
||||||
} else {
|
} else {
|
||||||
handleMousePressed(_hobject, e.getX(), e.getY());
|
handleMousePressed(_hobject, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -340,7 +340,7 @@ public class MisoScenePanel extends VirtualMediaPanel
|
|||||||
*
|
*
|
||||||
* @return true if the mouse press was handled, false if not.
|
* @return true if the mouse press was handled, false if not.
|
||||||
*/
|
*/
|
||||||
protected boolean handleMousePressed (Object hobject, int mx, int my)
|
protected boolean handleMousePressed (Object hobject, MouseEvent event)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user