Fix showing layer buttons in the status-bar overlapped by the

transparent-color selector when we're moving pixels.
This commit is contained in:
David Capello 2011-03-27 21:19:26 -03:00
parent 363f753929
commit da491a601b

View File

@ -495,7 +495,8 @@ bool StatusBar::onProcessMessage(JMessage msg)
x -= width+4;
}
}
else {
// Show layers only when we are not moving pixels
else if (!this->hasChild(m_movePixelsBox)) {
// Available width for layers buttons
int width = jrect_w(rc)/4;