original commit: 6b9faf8c9cbd868ea53970d184f8cc77a4784083
This commit is contained in:
Robby Findler 2001-11-12 20:41:11 +00:00
parent 0b1e6dfeda
commit e0ea9ca881

View File

@ -937,6 +937,7 @@
[by (box 0)])
(let-values ([(cw ch) (send d-canvas get-client-size)])
(send d-text position-location pos bx by)
(send d-canvas focus)
(send d-canvas scroll-to
(- (unbox bx) (/ cw 2))
(- (unbox by) (/ ch 2))