fixed bug with quotient
svn: r1369 original commit: 5250e0ac575c624a6da7b4bbaf5cf7901662f34d
This commit is contained in:
parent
f6f25aa5e6
commit
f6d489be72
|
@ -123,7 +123,7 @@
|
|||
py)))])
|
||||
(send f put str)))
|
||||
|
||||
(define/override (get-num-scroll-steps) (inexact->exact (+ (quotient height 20) 1)))
|
||||
(define/override (get-num-scroll-steps) (inexact->exact (+ (floor (/ height 20)) 1)))
|
||||
(define/override (find-scroll-step y) (inexact->exact (floor (/ y 20))))
|
||||
(define/override (get-scroll-step-offset offset) (* offset 20))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user