textyle
textyle copied to clipboard
Sprites are misplaced when window is scrolled
On my Windows laptop I get both horizontal and vertical scrollbars. When I scroll away from (0,0) the graphical objects get placed in the wrong spot - the calculation is missing window.scrollX/Y offset correction
I suspect it could be fixed here: https://github.com/stefandevai/textyle/blob/60d1be71699c64097a5cc97243e10fa92bbb83c8/src/utils/tile.js#L3