Fix double text rendering if using parentRelative

This commit is contained in:
Vladimir A. Pavlov 2012-12-15 19:41:34 +03:00 committed by Mathias Gumz
parent edcb6d57ce
commit 5efef22cba

View file

@ -122,8 +122,6 @@ void TextButton::clearArea(int x, int y,
unsigned int width, unsigned int height,
bool exposure) {
Button::clearArea(x, y, width, height, exposure);
if (backgroundPixmap() == ParentRelative)
drawText(0, 0, this);
}