Skip to content

Commit

Permalink
Perfomance: allow to set the onUpdateUI timeout using a hidden pref (…
Browse files Browse the repository at this point in the history
…onUpdateUI_timeout); fixed Komodo#2470

Signed-off-by: Defman21 <[email protected]>
  • Loading branch information
Defman21 committed May 5, 2017
1 parent 04af5f2 commit c4eb6d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/chrome/komodo/content/bindings/views-buffer.p.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,8 @@
clearTimeout(this._uiTimer);
}
this._uiTimer = setTimeout(this._onUpdateUI_debounced.bind(this, updated), 200);
this._uiTimer = setTimeout(this._onUpdateUI_debounced.bind(this, updated),
ko.prefs.getLong('onUpdateUI_timeout', 200));
]]>
</body>
</method>
Expand Down

0 comments on commit c4eb6d2

Please sign in to comment.