You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Leaves behind extra lines when the rectangle is moved.
Description
It looks like an off-by-one error in the dirty-rectangle tracking. The dirty rectangle tracking is "exclusive" so whatever dirty rectangle must be larger than the rectangle pixel dimensions by +1 in both x and y.
I hacked the vectorio _get_screen_area and this solved the issue, but I'm unsure if it's the correct approach. The last two lines were added to expand the dirty rectangle.
Uh oh!
There was an error while loading. Please reload this page.
This was raised by user "cake" on the discord chat on 24 March 2021 at 1:43 pm central.
@WarriorOfWire your insights are appreciated on this one.
Firmware
Code/REPL
Behavior
Leaves behind extra lines when the rectangle is moved.
Description
It looks like an off-by-one error in the dirty-rectangle tracking. The dirty rectangle tracking is "exclusive" so whatever dirty rectangle must be larger than the rectangle pixel dimensions by +1 in both x and y.
I hacked the vectorio
_get_screen_area
and this solved the issue, but I'm unsure if it's the correct approach. The last two lines were added to expand the dirty rectangle.The text was updated successfully, but these errors were encountered: