Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator, Widget editors
154
edits
No edit summary |
(Should fix it) |
||
Line 83: | Line 83: | ||
scale = settings.scale, | scale = settings.scale, | ||
autoScale = settings.autoscale, | autoScale = settings.autoscale, | ||
image = getImage(settings.image) | image = (settings.image and getImage(settings.image)) | ||
or settings.spriteSheet | |||
} | } | ||
Line 141: | Line 142: | ||
append("background-position", '-' .. left .. 'px -' .. top .. 'px') | append("background-position", '-' .. left .. 'px -' .. top .. 'px') | ||
if settings.image then | if settings.image then | ||
append("background", | append("background", settings.image.url) | ||
end | end | ||
edits