summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ButtonTheme.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ButtonTheme.cc b/src/ButtonTheme.cc
index 225bbb7..47177cd 100644
--- a/src/ButtonTheme.cc
+++ b/src/ButtonTheme.cc
@@ -22,6 +22,12 @@ bool ButtonTheme::fallback(FbTk::ThemeItem_base &item) {
22 return FbTk::ThemeManager::instance().loadItem(item, "borderColor", "BorderColor"); 22 return FbTk::ThemeManager::instance().loadItem(item, "borderColor", "BorderColor");
23 } 23 }
24 24
25 if (item.name().find(".pressed") != std::string::npos) {
26 // copy texture
27 *m_pressed_texture = texture();
28 return true;
29 }
30
25 return ToolTheme::fallback(item); 31 return ToolTheme::fallback(item);
26} 32}
27 33