From e6672d916f73b7d27f394418ad9ae35cded213e6 Mon Sep 17 00:00:00 2001 From: fxliang Date: Mon, 15 Apr 2024 09:31:44 +0000 Subject: [PATCH] fix: input position flicker when wrap in Word line ending --- WeaselTSF/EditSession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WeaselTSF/EditSession.cpp b/WeaselTSF/EditSession.cpp index 59004d363..99b0fb583 100644 --- a/WeaselTSF/EditSession.cpp +++ b/WeaselTSF/EditSession.cpp @@ -32,10 +32,10 @@ STDAPI WeaselTSF::DoEditSession(TfEditCookie ec) { } else if (!_status.composing && _IsComposing()) { _EndComposition(_pEditSessionContext, true); } - _UpdateCompositionWindow(_pEditSessionContext); if (_IsComposing() && config.inline_preedit) { _ShowInlinePreedit(_pEditSessionContext, context); } + _UpdateCompositionWindow(_pEditSessionContext); } _UpdateUI(*context, _status);