fixed fallback for pressed texture
fluxgen fluxgen
1 files changed,
6 insertions(+),
0 deletions(-)
jump to
M
src/ButtonTheme.cc
→
src/ButtonTheme.cc
@@ -22,6 +22,12 @@ if (item.name().find(".borderColor") != std::string::npos) {
return FbTk::ThemeManager::instance().loadItem(item, "borderColor", "BorderColor"); } + if (item.name().find(".pressed") != std::string::npos) { + // copy texture + *m_pressed_texture = texture(); + return true; + } + return ToolTheme::fallback(item); }