contracts & units are not getting along; unbreak the build for now
This commit is contained in:
parent
7037120be7
commit
154d940a67
|
@ -456,8 +456,11 @@
|
||||||
(get-current-preferred-font-size))))
|
(get-current-preferred-font-size))))
|
||||||
|
|
||||||
|
|
||||||
(define/contract (set-current-preferred-font-size new-size)
|
(define (set-current-preferred-font-size new-size)
|
||||||
(-> exact-nonnegative-integer? void?)
|
(unless (exact-nonnegative-integer? new-size)
|
||||||
|
(raise-argument-error 'set-current-preferred-font-size
|
||||||
|
"exact-nonnegative-integer?"
|
||||||
|
new-size))
|
||||||
(define old-pref (preferences:get 'framework:standard-style-list:font-size))
|
(define old-pref (preferences:get 'framework:standard-style-list:font-size))
|
||||||
(define current-mons (get-current-monitor-sizes))
|
(define current-mons (get-current-monitor-sizes))
|
||||||
(define new-monitor-sizes
|
(define new-monitor-sizes
|
||||||
|
|
Loading…
Reference in New Issue
Block a user