Curl Global Community
amount of PointerScroll is different in 7.0 and 8.0 - Printable Version

+- Curl Global Community (http://communities.curl.com)
+-- Forum: Discussions (http://communities.curl.com/forumdisplay.php?fid=1)
+--- Forum: General Curl questions (http://communities.curl.com/forumdisplay.php?fid=2)
+--- Thread: amount of PointerScroll is different in 7.0 and 8.0 (/showthread.php?tid=727)



amount of PointerScroll is different in 7.0 and 8.0 - alchimiste - 01-07-2013

Happy new year!!

I've found a problem in PointerScorll event.

In Curl 7.0, the value of amount of this event is always 1 or -1.
But in 8.0, the value is always 120 or -120.

Is it a bug or a change in 8.0?

Test code:


{curl 8.0 applet}
{curl-file-attributes character-encoding = "utf8"}


{document-style PlainDocument}


{Frame
width={make-elastic}, height={make-elastic},
valign="center", halign="center",
background="yellow",
{on eTongueointerScroll at fr:Frame do
{fr.add e.amount, replace?=true}
}
}