mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 11:52:01 +00:00
Debounce fading on the leading instead of the trailing edge
(imported from commit 11d0e8938c1f29cfea0678330e7af9884844af21)
This commit is contained in:
@@ -89,7 +89,7 @@ function _update_faded_messages() {
|
|||||||
|
|
||||||
// See trac #1633. For fast typists, calls to _update_faded_messages can
|
// See trac #1633. For fast typists, calls to _update_faded_messages can
|
||||||
// cause typing sluggishness.
|
// cause typing sluggishness.
|
||||||
exports.update_faded_messages = _.debounce(_update_faded_messages, 50);
|
exports.update_faded_messages = _.debounce(_update_faded_messages, 50, true);
|
||||||
|
|
||||||
exports.start_compose = function (msg_type) {
|
exports.start_compose = function (msg_type) {
|
||||||
exports.set_focused_recipient(msg_type);
|
exports.set_focused_recipient(msg_type);
|
||||||
|
|||||||
Reference in New Issue
Block a user