fix Same for Retina displays

This commit is contained in:
Matthew Flatt 2014-01-11 11:02:08 -06:00
parent b8feb283cd
commit e02a1af037

View File

@ -74,7 +74,7 @@
(define same-canvas%
(class canvas%
(inherit get-dc get-client-size)
(inherit get-dc get-client-size make-bitmap)
(define/private (get-width) (let-values ([(w h) (get-client-size)]) w))
(define/private (get-height) (let-values ([(w h) (get-client-size)]) h))
(define/private (get-x-step) (/ (get-width) board-width))