(svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes.

This commit is contained in:
alberth
2009-12-22 20:43:25 +00:00
parent 7dbc77a1e7
commit 3323d64f28
8 changed files with 30 additions and 26 deletions

View File

@@ -552,7 +552,7 @@ void Window::SetShaded(bool make_shaded)
{
if (this->shade_select == NULL) return;
int desired = make_shaded ? STACKED_SELECTION_ZERO_SIZE : 0;
int desired = make_shaded ? SZSP_NONE : 0;
if (this->shade_select->shown_plane != desired) {
if (make_shaded) {
this->unshaded_size.width = this->width;