From da491a601b0c61a588820c7fb4742a63f90ddbf7 Mon Sep 17 00:00:00 2001 From: David Capello Date: Sun, 27 Mar 2011 21:19:26 -0300 Subject: [PATCH] Fix showing layer buttons in the status-bar overlapped by the transparent-color selector when we're moving pixels. --- src/widgets/statebar.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/widgets/statebar.cpp b/src/widgets/statebar.cpp index 9424959a4..bccd9107b 100644 --- a/src/widgets/statebar.cpp +++ b/src/widgets/statebar.cpp @@ -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;