diff --git a/themes/V3/Blank/snippets/imageMask.gen.js b/themes/V3/Blank/snippets/imageMask.gen.js index 1bbc27d5a..5c6193a05 100644 --- a/themes/V3/Blank/snippets/imageMask.gen.js +++ b/themes/V3/Blank/snippets/imageMask.gen.js @@ -10,16 +10,16 @@ module.exports = { 'right' : 270 }[side]; return dedent` - {{imageMaskEdge${_.random(1, 8)},--offset:0cm,--rotation:${rotation}; + {{imageMaskEdge${_.random(1, 8)},--offset:0cm,--rotation:${rotation} ![](https://i.imgur.com/GZfjDWV.png){height:100%} }} - \n\n`; }, corner : (y = 'top', x = 'left')=>{ const offsetX = (x == 'left' ? '-50%' : '50%'); - const offsetY = (y == 'top' ? '-50%' : '50%'); + const offsetY = (y == 'top' ? '50%' : '-50%'); return dedent` {{imageMaskCorner${_.random(1, 37)},--offsetX:${offsetX},--offsetY:${offsetY},--rotation:0 ![](https://i.imgur.com/GZfjDWV.png){height:100%}