You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-commits@xmlgraphics.apache.org by de...@apache.org on 2005/06/01 11:32:58 UTC
cvs commit: xml-batik/sources/org/apache/batik/swing/svg JSVGComponent.java
deweese 2005/06/01 02:32:58
Modified: sources/org/apache/batik/swing/svg JSVGComponent.java
Log:
Fixed a bug in the dispatch of scroll events.
It wouldn't generate a scroll event for just vertical scrolls.
Revision Changes Path
1.105 +2 -2 xml-batik/sources/org/apache/batik/swing/svg/JSVGComponent.java
Index: JSVGComponent.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/swing/svg/JSVGComponent.java,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -r1.104 -r1.105
--- JSVGComponent.java 29 Mar 2005 10:48:02 -0000 1.104
+++ JSVGComponent.java 1 Jun 2005 09:32:57 -0000 1.105
@@ -1233,7 +1233,7 @@
final boolean dispatchZoom = (currScale != prevScale);
final boolean dispatchScroll = ((currTransX != prevTransX) ||
- (currTransX != prevTransX));
+ (currTransY != prevTransY));
if (isDynamicDocument &&
(updateManager != null) && updateManager.isRunning()) {
updateManager.getUpdateRunnableQueue().invokeLater