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:
Nathan Sobo
2017-03-29 20:18:10 -06:00
committed by Antonio Scandurra
parent 3b7112889a
commit 7da588c3ee

View File

@@ -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()