aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/Menu.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index ee678c1..480569f 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -1195,7 +1195,7 @@ void Menu::clearItem(int index, bool clear) {
1195 int sbl = index / menu.persub, i = index - (sbl * menu.persub); 1195 int sbl = index / menu.persub, i = index - (sbl * menu.persub);
1196 unsigned int item_w = menu.item_w, item_h = theme().itemHeight(); 1196 unsigned int item_w = menu.item_w, item_h = theme().itemHeight();
1197 int item_x = (sbl * item_w), item_y = (i * item_h); 1197 int item_x = (sbl * item_w), item_y = (i * item_h);
1198 bool highlight = (index == m_active_index); 1198 bool highlight = (index == m_active_index && isItemSelectable(index));
1199 1199
1200 // don't highlight if moving, doesn't work with alpha on 1200 // don't highlight if moving, doesn't work with alpha on
1201 if (highlight && !m_moving) { 1201 if (highlight && !m_moving) {