Skip to content

Commit

Permalink
Fix subSpan editing in label editing
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Jan 4, 2024
1 parent 8e51c11 commit e7bf0e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/lib/src/models/text.dart
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ sealed class TextParagraph with _$TextParagraph {
}
firstIndex ??= currentLength;
spans.add(cut
? span.subSpan(start - currentLength, end - currentLength)
? span.subSpan(start - currentLength, length - currentLength)
: span);
}
currentLength += span.length;
Expand Down
3 changes: 2 additions & 1 deletion fastlane/metadata/android/en-US/changelogs/87.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
* Fix asset card missing ripple effect
* Fix rename saved function will be triggered multiple times
* Fix pen property view
* Fix label editing when selecting different text input
* Fix label editing when selecting different text input
* Fix subSpan editing in label editing

0 comments on commit e7bf0e9

Please sign in to comment.