From bc55317a4b979517c2640377b3588c3873ea2fa4 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sat, 20 Jan 2018 19:30:10 -0700 Subject: [PATCH] Fix drawing when focus items set - we should not attempt to stylize! --- core/vertical_menu_view.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/vertical_menu_view.js b/core/vertical_menu_view.js index a7e566eb..5b27c36d 100644 --- a/core/vertical_menu_view.js +++ b/core/vertical_menu_view.js @@ -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);