aboutsummaryrefslogtreecommitdiff
path: root/data/plugins/language_python.lua
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2021-10-10 14:52:55 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2021-10-10 14:52:55 +0200
commitcb08c5cbb7e3679fa90d40d784d223fa197aeb5a (patch)
tree5b04af496b3077bd72161d180f8c8f95fc096cf7 /data/plugins/language_python.lua
parentc179f909e2c172ecbec0262495fd85ceaf8b8329 (diff)
downloadlite-xl-cb08c5cbb7e3679fa90d40d784d223fa197aeb5a.tar.gz
lite-xl-cb08c5cbb7e3679fa90d40d784d223fa197aeb5a.zip
Fix dirty pixels problem on window's right side
The last column of pixel on the window's right side isn't correctly drawn and pixels appear dirty and more noticeably when the a NagView message was previously shown, a stripe of red pixels remains on the right. We use now a more souding roundig scheme. Now the rectangles to clip or to draw are passed around as Lua numbers without any rounding. In turns, when the rect coordinates are passed to the renderer we ensure the border of the rect are correctly snapped to the pixel's grid. It works by computing the coordinates of the edges, round them to integers and then compute the rect's width based on the rounded coordinates values.
Diffstat (limited to 'data/plugins/language_python.lua')
0 files changed, 0 insertions, 0 deletions