Skip to content

Commit

Permalink
fix: use setCursorAnimationEnabled method to set whether animation is…
Browse files Browse the repository at this point in the history
… enabled or disabled
  • Loading branch information
teixeira0x committed Dec 12, 2024
1 parent b9f8d58 commit 9d2bc54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ class CodeEditorView(
}

private fun onCursorAnimationPrefChanged() {
binding.editor.cursorAnimationEnabled = EditorPreferences.cursorAnimationEnabled
binding.editor.setCursorAnimationEnabled(EditorPreferences.cursorAnimationEnabled)
}

private fun onStickyScrollEnabeldPrefChanged() {
Expand Down

0 comments on commit 9d2bc54

Please sign in to comment.