xcxspritesheet-templates
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -27,8 +27,8 @@ // Load in local modules | ||
//图片宽高补充2rpx避免图片压缩被裁剪到 | ||
if (data.is_sprite) { | ||
sprite.width += 2; | ||
sprite.height += 2; | ||
sprite.offset_x += 1; | ||
sprite.offset_y += 1; | ||
} | ||
// if (data.is_sprite) { | ||
// sprite.width += 2; | ||
// sprite.height += 2; | ||
// sprite.offset_x += 1; | ||
// sprite.offset_y += 1; | ||
// } | ||
data.spritesheet.width = sprite.total_width; | ||
@@ -35,0 +35,0 @@ data.spritesheet.height = sprite.total_height; |
{ | ||
"name": "xcxspritesheet-templates", | ||
"description": "Convert spritesheet data into CSS or CSS pre-processor data", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"homepage": "https://github.com/twolfson/spritesheet-templates", | ||
@@ -70,4 +70,4 @@ "author": { | ||
}, | ||
"_from": "xcxspritesheet-templates@1.0.0", | ||
"_resolved": "http://registry.npm.taobao.org/xcxspritesheet-templates/download/xcxspritesheet-templates-1.0.0.tgz" | ||
"_from": "xcxspritesheet-templates@1.0.3", | ||
"_resolved": "http://registry.npm.taobao.org/xcxspritesheet-templates/download/xcxspritesheet-templates-1.0.3.tgz" | ||
} |
Sorry, the diff of this file is not supported yet
289468