Gabriel95 / scalafx

Automatically exported from code.google.com/p/scalafx
Other
0 stars 0 forks source link

ScrollEvent.SCROLL has incorrect type (Easy to fix) #100

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
val SCROLL in object ScrollEvent is missing explicit type declaration, 
therefore it's actual type is 
javafx.event.EventType[javafx.scene.input.ScrollEvent], not 
scalafx.event.EventType[javafx.scene.input.ScrollEvent], which prevents 
handling this event by means of scalafx

I suppose this issue could be solved just by replacing 
val SCROLL = jfxsi.ScrollEvent.SCROLL
with
val SCROLL : EventType[jfxsi.ScrollEvent] = jfxsi.ScrollEvent.SCROLL
in file scalafx/src/main/scala/scalafx/scene/input/ScrollEvent.scala

Original issue reported on code.google.com by aazay...@gmail.com on 21 Oct 2013 at 7:14

GoogleCodeExporter commented 8 years ago
aazayets, can you post sample code the illustrated the issue?

Original comment by jpsacha on 7 Nov 2013 at 3:26

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 4d616c3b9019.

Original comment by jpsacha on 7 Nov 2013 at 3:34