Skip to content

Commit 9d2bc54

Browse files
committed
fix: use setCursorAnimationEnabled method to set whether animation is enabled or disabled
1 parent b9f8d58 commit 9d2bc54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/app/src/main/java/com/itsaky/androidide/ui/CodeEditorView.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ class CodeEditorView(
411411
}
412412

413413
private fun onCursorAnimationPrefChanged() {
414-
binding.editor.cursorAnimationEnabled = EditorPreferences.cursorAnimationEnabled
414+
binding.editor.setCursorAnimationEnabled(EditorPreferences.cursorAnimationEnabled)
415415
}
416416

417417
private fun onStickyScrollEnabeldPrefChanged() {

0 commit comments

Comments
 (0)