mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
Ensure nextUpdateOnlyBlinksCursor argument is true, not just truthy
We pass the bound scheduleUpdate method as an event handler to a variety of subscription methods, some of which supply arguments.
This commit is contained in:
committed by
Antonio Scandurra
parent
3b7112889a
commit
7da588c3ee
@@ -126,7 +126,7 @@ class TextEditorComponent {
|
||||
if (!this.visible) return
|
||||
|
||||
this.nextUpdateOnlyBlinksCursors =
|
||||
this.nextUpdateOnlyBlinksCursors !== false && nextUpdateOnlyBlinksCursors
|
||||
this.nextUpdateOnlyBlinksCursors !== false && nextUpdateOnlyBlinksCursors === true
|
||||
|
||||
if (this.updatedSynchronously) {
|
||||
this.updateSync()
|
||||
|
||||
Reference in New Issue
Block a user