mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
The .height() and .width() functions are actually pretty expensive for the number of times we call them. The callers of within_viewport already know the offset and height of the row, so we just pass them in so the values don't have to be recalculated. (imported from commit d1c077bd87463d695f0bbe337b6a8b04ac2d17ce)
20 KiB
20 KiB