diff --git a/src/jvmMain/kotlin/com/sunnychung/application/multiplatform/hellohttp/ux/CodeEditorView.kt b/src/jvmMain/kotlin/com/sunnychung/application/multiplatform/hellohttp/ux/CodeEditorView.kt index e1836d8a..36631387 100644 --- a/src/jvmMain/kotlin/com/sunnychung/application/multiplatform/hellohttp/ux/CodeEditorView.kt +++ b/src/jvmMain/kotlin/com/sunnychung/application/multiplatform/hellohttp/ux/CodeEditorView.kt @@ -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