fix drawing selected_item_{prefix,suffix}
This commit is contained in:
@@ -742,9 +742,9 @@ template <typename T> void NCurses::Menu<T>::Refresh()
|
||||
*this << fmtReverse;
|
||||
*this << itsHighlightColor;
|
||||
}
|
||||
mvwhline(itsWindow, line, 0, 32, itsWidth);
|
||||
if ((*itsOptionsPtr)[i]->isSelected && itsSelectedPrefix)
|
||||
*this << *itsSelectedPrefix;
|
||||
mvwhline(itsWindow, line, 0, 32, itsWidth);
|
||||
if (itsItemDisplayer)
|
||||
itsItemDisplayer((*itsOptionsPtr)[i]->Item, itsItemDisplayerUserdata, this);
|
||||
if ((*itsOptionsPtr)[i]->isSelected && itsSelectedSuffix)
|
||||
|
||||
Reference in New Issue
Block a user