Line 119:
Line 119:
if not args.size then
if not args.size then
args.size = args.hd and self._battle_card_size_hd or self._battle_card_size
args.size = args.hd and self._battle_card_size_hd or self._battle_card_size
+
end
+
if args.marginLeft then
+
self._image_wrapper_style['margin-left'] = args.marginLeft
+
end
+
if args.marginTop then
+
self._image_wrapper_style['margin-top'] = args.marginTop
end
end
local width, height = parseSize(args.size)
local width, height = parseSize(args.size)