mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
message_viewport.js: Add setter for last_movement_direction.
After migration to an ES6 module, `last_movement_direction` would no longer be mutable from outside the module. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
committed by
Tim Abbott
parent
15192d4417
commit
6e4ae95994
@@ -70,7 +70,7 @@ exports.initialize_kitchen_sink_stuff = function () {
|
||||
}
|
||||
}
|
||||
|
||||
message_viewport.last_movement_direction = delta;
|
||||
message_viewport.set_last_movement_direction(delta);
|
||||
}, 50);
|
||||
|
||||
message_viewport.message_pane.on('wheel', function (e) {
|
||||
|
||||
Reference in New Issue
Block a user