Fix bug redrawing the area occupied by the window when it's destroyed

This commit is contained in:
David Capello 2018-11-28 10:35:13 -03:00
parent 0ab7f45c35
commit 9af7366662

View File

@ -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)