aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/FbTk/Menu.cc2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index df2f449..1cc4d6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.0rc3: 2Changes for 1.0rc3:
3*06/08/14:
4 * Fix minor menu separator highlight issue (Simon)
5 FbTk/Menu.cc
3*06/08/12: 6*06/08/12:
4 * Fix placement of restored fullscreen windows (Mark) 7 * Fix placement of restored fullscreen windows (Mark)
5 Window.cc 8 Window.cc
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) {