Skip to content

Commit 6aed9e9

Browse files
committed
feature #511 Use scroll state.
1 parent bb2872e commit 6aed9e9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

editor/src/main/java/jp/toastkid/editor/view/EditorTabView.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ fun EditorTabView(path: String?, initialScrolled: Int, modifier: Modifier) {
241241
background = Color.Transparent
242242
),
243243
cursorBrush = SolidColor(viewModel.cursorColor()),
244+
scrollState = viewModel.verticalScrollState(),
244245
modifier = modifier
245246
.focusRequester(viewModel.focusRequester())
246247
.fillMaxWidth()

0 commit comments

Comments
 (0)