mirror of https://github.com/adamdruppe/arsd.git
better displayImage from ketmar
This commit is contained in:
parent
971490085d
commit
325de11985
|
@ -4700,7 +4700,7 @@ void displayImage(Image image, SimpleWindow win = null) {
|
|||
}
|
||||
win.eventLoop(0,
|
||||
(KeyEvent ev) {
|
||||
win.close();
|
||||
if (ev.pressed) win.close();
|
||||
} );
|
||||
} else {
|
||||
win.image = image;
|
||||
|
|
Loading…
Reference in New Issue