Change Performance Report popups to frames instead of dialogs.
This fixes the lack of close button on mac.
This commit is contained in:
parent
076648fecc
commit
631c145add
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
(define ((popup-callback entry) ed start end)
|
(define ((popup-callback entry) ed start end)
|
||||||
(match-define (report-entry subs start end badness) entry)
|
(match-define (report-entry subs start end badness) entry)
|
||||||
(define win (new dialog% [label "Performance Report"]
|
(define win (new frame% [label "Performance Report"]
|
||||||
[width popup-width] [height popup-height]))
|
[width popup-width] [height popup-height]))
|
||||||
(define pane (new text% [auto-wrap #t]))
|
(define pane (new text% [auto-wrap #t]))
|
||||||
(define canvas
|
(define canvas
|
||||||
|
|
Loading…
Reference in New Issue
Block a user