mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-25 12:08:21 +02:00
Fix drawing when focus items set - we should not attempt to stylize!
This commit is contained in:
parent
5caf7a9fce
commit
bc55317a4b
1 changed files with 1 additions and 4 deletions
|
@ -66,10 +66,7 @@ function VerticalMenuView(options) {
|
|||
let sgr;
|
||||
if(item.focused && self.hasFocusItems()) {
|
||||
const focusItem = self.focusItems[index];
|
||||
text = strUtil.stylizeString(
|
||||
focusItem ? focusItem.text : item.text,
|
||||
self.focusTextStyle
|
||||
);
|
||||
text = focusItem ? focusItem.text : item.text;
|
||||
sgr = '';
|
||||
} else {
|
||||
text = strUtil.stylizeString(item.text, item.focused ? self.focusTextStyle : self.textStyle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue