From 5efef22cba2af157d7f06507dfa5cca3ca62c674 Mon Sep 17 00:00:00 2001 From: "Vladimir A. Pavlov" Date: Sat, 15 Dec 2012 19:41:34 +0300 Subject: Fix double text rendering if using parentRelative --- src/FbTk/TextButton.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/FbTk/TextButton.cc b/src/FbTk/TextButton.cc index 33a2b44..611580c 100644 --- a/src/FbTk/TextButton.cc +++ b/src/FbTk/TextButton.cc @@ -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); } -- cgit v0.11.2