Skip to content

Commit

Permalink
Remove unneeded set
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Jun 30, 2022
1 parent d84c943 commit d65feb8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion widget/richtext.go
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,6 @@ func lineBounds(seg *TextSegment, wrap fyne.TextWrap, firstWidth, maxWidth float
fallback := binarySearch(checker, low, last) - low

if fallback < 1 { // even a character won't fit
sub = text[low : low+1]
bounds = append(bounds, rowBoundary{[]RichTextSegment{seg}, reuse, low, low + 1})
low++
high = low + 1
Expand Down

0 comments on commit d65feb8

Please sign in to comment.