removed unused get-extent
original commit: c51662dff68a6fbebbeeee32e05b76c005e7a8bf
This commit is contained in:
parent
99d76649aa
commit
98435829d3
|
@ -206,11 +206,10 @@
|
|||
|
||||
(when label
|
||||
(send dc set-font button-label-font)
|
||||
(let-values ([(tw th _2 _3) (send dc get-text-extent label)])
|
||||
|
||||
;; 1 is for the outer drop shadow box
|
||||
(send dc draw-text label
|
||||
(+ button-label-inset
|
||||
(if inverted? drop-shadow-size 1))
|
||||
(+ button-label-inset
|
||||
(if inverted? drop-shadow-size 1)))))))
|
||||
|
||||
;; 1 is for the outer drop shadow box
|
||||
(send dc draw-text label
|
||||
(+ button-label-inset
|
||||
(if inverted? drop-shadow-size 1))
|
||||
(+ button-label-inset
|
||||
(if inverted? drop-shadow-size 1))))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user