Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit 044273e

Browse files
author
Yuncong Zhang
committed
Fix issue.
1 parent 86011ae commit 044273e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Runtime/rendering/editable.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,10 @@ public TextSelection selection {
668668
return this._selection;
669669
}
670670
set {
671+
if (this._selection == value) {
672+
return;
673+
}
674+
671675
this._selection = value;
672676
this._selectionRects = null;
673677
this.markNeedsPaint();

0 commit comments

Comments
 (0)