cocoa: fix a double vs. float mismatch in getting scroll positions
This commit is contained in:
parent
9b7e09f4b4
commit
53febbeb6c
|
@ -561,7 +561,7 @@
|
|||
0.0)))]
|
||||
[(scroller)
|
||||
(if scroller
|
||||
(->long (round (* (tell #:type _double (scroller-cocoa scroller) floatValue)
|
||||
(->long (round (* (tell #:type _float (scroller-cocoa scroller) floatValue)
|
||||
(scroller-range scroller))))
|
||||
0)]))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user