mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 19:06:09 +00:00
Move recenter_view to viewport.js.
This commit is contained in:
@@ -76,7 +76,7 @@ exports.fast_forward_pointer = function () {
|
||||
};
|
||||
|
||||
exports.keep_pointer_in_view = function () {
|
||||
// See recenter_view() for related logic to keep the pointer onscreen.
|
||||
// See viewport.recenter_view() for related logic to keep the pointer onscreen.
|
||||
// This function mostly comes into place for mouse scrollers, and it
|
||||
// keeps the pointer in view. For people who purely scroll with the
|
||||
// mouse, the pointer is kind of meaningless to them, but keyboard
|
||||
|
||||
Reference in New Issue
Block a user