Skip to content

Commit

Permalink
fix line numbers display was gone
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny-chung committed Nov 14, 2024
1 parent 7b01ec9 commit 87aef98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ fun BigTextLineNumbersView(
val collapsedLinesState = CollapsedLinesState(collapsableLines = collapsableLines, collapsedLines = collapsedLines)

// Note that layoutResult.text != bigText
val layoutText = layoutResult?.text as? BigTextTransformerImpl
val layoutText = layoutResult?.text as? BigTextTransformed

var prevHasLayouted by remember { mutableStateOf(false) }
prevHasLayouted = layoutText?.hasLayouted ?: false
Expand Down

0 comments on commit 87aef98

Please sign in to comment.