diff options
author | Francesco Abbate <francesco.bbt@gmail.com> | 2021-05-31 22:10:48 +0200 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2021-05-31 22:10:48 +0200 |
commit | 89f2b4916f81702870ee8f9c848aed96c9c304f5 (patch) | |
tree | 4bb007cebd417ef9a5703fd198a67304c54159cb /plugins/language_tsx.lua | |
parent | 5b9a3bd28d937d131da5821f075952df80c14040 (diff) | |
download | lite-xl-plugins-89f2b4916f81702870ee8f9c848aed96c9c304f5.tar.gz lite-xl-plugins-89f2b4916f81702870ee8f9c848aed96c9c304f5.zip |
Fix div by zero error in scale plugin
Simply avoid division by zero adjusting the scroll position
when scrollable size is equal to the view's size.
Related to issue:
https://github.com/franko/lite-xl/issues/88
Diffstat (limited to 'plugins/language_tsx.lua')
0 files changed, 0 insertions, 0 deletions