Fix double text rendering if using parentRelative
This commit is contained in:
parent
edcb6d57ce
commit
5efef22cba
1 changed files with 0 additions and 2 deletions
|
@ -122,8 +122,6 @@ void TextButton::clearArea(int x, int y,
|
||||||
unsigned int width, unsigned int height,
|
unsigned int width, unsigned int height,
|
||||||
bool exposure) {
|
bool exposure) {
|
||||||
Button::clearArea(x, y, width, height, exposure);
|
Button::clearArea(x, y, width, height, exposure);
|
||||||
if (backgroundPixmap() == ParentRelative)
|
|
||||||
drawText(0, 0, this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue