textyle icon indicating copy to clipboard operation
textyle copied to clipboard

Sprites are misplaced when window is scrolled

Open jbemmel opened this issue 4 years ago • 1 comments

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

jbemmel avatar Apr 27 '21 13:04 jbemmel

I suspect it could be fixed here: https://github.com/stefandevai/textyle/blob/60d1be71699c64097a5cc97243e10fa92bbb83c8/src/utils/tile.js#L3

jbemmel avatar Apr 27 '21 13:04 jbemmel