mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-06 06:58:15 +00:00
Windows: fix last gray background when the main window is closed
This commit is contained in:
parent
a674f5addb
commit
7dc7bf09e2
@ -1098,6 +1098,14 @@ bool Manager::onProcessMessage(Message* msg)
|
||||
{
|
||||
switch (msg->type()) {
|
||||
|
||||
case kPaintMessage:
|
||||
// Draw nothing (the manager should be invisible). On Windows,
|
||||
// after closing the main window, the manager will not refresh
|
||||
// the she::Display content, so we'll avoid a gray background
|
||||
// (the last main window content is kept until the Display is
|
||||
// finally closed.)
|
||||
return true;
|
||||
|
||||
case kResizeDisplayMessage:
|
||||
onNewDisplayConfiguration();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user