From dcd5a6729b1f9e5ba92bea9e87100ebb8b9182e1 Mon Sep 17 00:00:00 2001 From: Etoh Date: Thu, 28 Dec 2017 19:32:27 +0000 Subject: [PATCH] Use standard glyph for inline chat input --- resources/syncplayintf.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/syncplayintf.lua b/resources/syncplayintf.lua index 6f09bdc..a0af4a8 100644 --- a/resources/syncplayintf.lua +++ b/resources/syncplayintf.lua @@ -445,8 +445,9 @@ function input_ass() local firststyle = "{\\an"..alignment.."}{\\pos("..position..")}" if opts['chatOutputEnabled'] and opts['chatOutputMode'] == CHAT_MODE_CHATROOM and opts['chatInputPosition'] == "Top" then - cglyph = "_" - firststyle = get_output_style() + firststyle = get_output_style().."{'\\1c&H'"..fontColor.."}" + before_cur = before_cur .. firststyle + after_cur = after_cur .. firststyle help_prompt = '\n'..firststyle..'{\\1c&H'..HINT_TEXT_COLOUR..'}' .. osd_help_message .. '\n' end if key_hints_enabled == false then help_prompt = "" end