jfreechart-fx icon indicating copy to clipboard operation
jfreechart-fx copied to clipboard

Work around zoom issues on Linux.

Open asgeirn opened this issue 1 year ago • 0 comments

In Linux, the scroll event is sometimes issued with a deltaY of zero. From experience, this seems to occur as often as events including a deltaY value.

The net effect of this, based on how the logic works now, is that zooming in one direction appears to do nothing - as the events cancel each other. In the other direction zooming occurs twice.

Tested and confirmed working on Linux and Windows using JDK 11.

asgeirn avatar Oct 17 '23 10:10 asgeirn