Module:Sprite: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 32: Line 32:
['vertical-align'] = 'middle',
['vertical-align'] = 'middle',
['--blackstroke-color'] = outline
['--blackstroke-color'] = outline
})
:tag('span')
:css({
position = 'absolute',
height = tostring(sheetHeight * ratio) .. 'px',
width = tostring(sheetWidth * ratio) .. 'px',
top = tostring((offsetY - cellHeight * row) * ratio) .. 'px',
left = tostring((offsetX - cellWidth * col) * ratio) .. 'px'
})
})
:allDone()
:allDone()

Navigation menu