Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4080
Modified Files:
AbstractTool.java
Log Message:
Always update dx/dy - bug in JRE/Linux
Index: AbstractTool.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/AbstractTool.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** AbstractTool.java 5 Aug 2005 10:59:18 -0000 1.6
--- AbstractTool.java 5 Aug 2005 11:24:15 -0000 1.7
***************
*** 144,151 ****
int x = e.getX();
int y = e.getY();
! if (e.getButton() == MouseEvent.BUTTON3) {
! this.dx = x - pressPos[0];
! this.dy = y - pressPos[1];
! }
dragged(e);
glv.repaint();
--- 144,151 ----
int x = e.getX();
int y = e.getY();
!
! this.dx = x - pressPos[0];
! this.dy = y - pressPos[1];
!
dragged(e);
glv.repaint();
|