mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 07:01:24 +00:00
[richEditor]手柄移动进行缩放后保持可见
Signed-off-by: z00797037 <zhangzecong@huawei.com> Change-Id: If360eaea7f0cc3bc4c0fefed7966173fb42fc0c4
This commit is contained in:
parent
f21793b60d
commit
3e0e9b8f45
@ -81,6 +81,8 @@ bool RichEditorSelectOverlay::CheckHandleVisible(const RectF& paintRect)
|
||||
return false;
|
||||
}
|
||||
|
||||
// Keep handle visible when moving
|
||||
CHECK_NULL_RETURN(!isHandleMoving_ || IsSingleHandle(), true);
|
||||
auto visibleContentRect = GetVisibleContentRect();
|
||||
GetClipHandleViewPort(visibleContentRect);
|
||||
if (visibleContentRect.IsEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user