Skip to content

Commit

Permalink
fix: input position flicker when wrap in Word line ending
Browse files Browse the repository at this point in the history
  • Loading branch information
fxliang committed Apr 16, 2024
1 parent 039835f commit e6672d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WeaselTSF/EditSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e6672d9

Please sign in to comment.