mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-05 21:57:20 +00:00
Fix bug redrawing the area occupied by the window when it's destroyed
This commit is contained in:
parent
0ab7f45c35
commit
9af7366662
@ -1,4 +1,5 @@
|
||||
// Aseprite UI Library
|
||||
// Copyright (C) 2018 Igara Studio S.A.
|
||||
// Copyright (C) 2001-2017 David Capello
|
||||
//
|
||||
// This file is released under the terms of the MIT license.
|
||||
@ -127,7 +128,7 @@ Window::Window(Type type, const std::string& text)
|
||||
|
||||
Window::~Window()
|
||||
{
|
||||
manager()->_closeWindow(this, false);
|
||||
manager()->_closeWindow(this, isVisible());
|
||||
}
|
||||
|
||||
void Window::setAutoRemap(bool state)
|
||||
|
Loading…
Reference in New Issue
Block a user