fix game card-layout method to call correct method
svn: r12473
This commit is contained in:
parent
b8687f7957
commit
28ff8eca7e
|
@ -719,8 +719,8 @@
|
|||
(unless (null? cards)
|
||||
(let-values ([(x y w h) (send pb get-region-box r)]
|
||||
[(len) (sub1 (length cards))]
|
||||
[(cw ch) (values (send (car cards) get-width)
|
||||
(send (car cards) get-height))])
|
||||
[(cw ch) (values (send (car cards) card-width)
|
||||
(send (car cards) card-height))])
|
||||
(let* ([pretty (lambda (cw) (+ (* (add1 len) cw) (* len PRETTY-CARD-SEP-AMOUNT)))]
|
||||
[pw (pretty cw)]
|
||||
[ph (pretty ch)])
|
||||
|
|
Loading…
Reference in New Issue
Block a user