561
edits
Auburnsummer (talk | contribs) No edit summary |
Auburnsummer (talk | contribs) No edit summary |
||
Line 28: | Line 28: | ||
height = tostring(sheetHeight * ratio) .. 'px', | height = tostring(sheetHeight * ratio) .. 'px', | ||
width = tostring(sheetWidth * ratio) .. 'px', | width = tostring(sheetWidth * ratio) .. 'px', | ||
top = (offsetY - cellHeight * row) * ratio, | top = tostring((offsetY - cellHeight * row) * ratio) .. 'px', | ||
left = (offsetX - cellWidth * | left = tostring((offsetX - cellWidth * col) * ratio) .. 'px' | ||
}) | }) | ||
:done() | :done() |