tweaks to try to get more information on a new error in case it happens again
This commit is contained in:
parent
1742545640
commit
7037120be7
|
@ -144,7 +144,7 @@ the state transitions / contracts are:
|
|||
(error 'preferences:set
|
||||
(string-append
|
||||
"new value doesn't satisfy preferences:set-default predicate\n"
|
||||
" pref sym: ~e\n"
|
||||
" pref sym: ~v\n"
|
||||
" given: ~e\n"
|
||||
" predicate: ~e")
|
||||
p value checker?))
|
||||
|
|
|
@ -456,7 +456,8 @@
|
|||
(get-current-preferred-font-size))))
|
||||
|
||||
|
||||
(define (set-current-preferred-font-size new-size)
|
||||
(define/contract (set-current-preferred-font-size new-size)
|
||||
(-> exact-nonnegative-integer? void?)
|
||||
(define old-pref (preferences:get 'framework:standard-style-list:font-size))
|
||||
(define current-mons (get-current-monitor-sizes))
|
||||
(define new-monitor-sizes
|
||||
|
|
Loading…
Reference in New Issue
Block a user