mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2025-01-09 10:24:22 +00:00
!34920 【RichEditor】修改光标回调中递归修改光标异常问题
Merge pull request !34920 from xuyue/caret2
This commit is contained in:
commit
9b33b63386
@ -1471,8 +1471,8 @@ void RichEditorPattern::FireOnSelectionChange(int32_t start, int32_t end)
|
||||
if (range == lastSelectionRange_) {
|
||||
return;
|
||||
}
|
||||
eventHub->FireOnSelectionChange(&range);
|
||||
lastSelectionRange_ = std::move(range);
|
||||
eventHub->FireOnSelectionChange(&range);
|
||||
}
|
||||
|
||||
bool RichEditorPattern::GetCaretVisible() const
|
||||
|
Loading…
Reference in New Issue
Block a user