0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-10 13:32:45 +00:00

centering + 5 new masks

This commit is contained in:
Victor Losada Hernandez
2023-03-23 23:51:27 +01:00
parent c39a95f1e1
commit e28605338b
13 changed files with 7 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ const dedent = require('dedent-tabs').default;
module.exports = {
center :()=>{
return dedent`
{{imageMaskCenter${_.random(1, 10)},--offsetX:0%,--offsetY:0%,--rotation:0;
{{imageMaskCenter${_.random(1, 16)},--offsetX:0%,--offsetY:0%,--rotation:0;
![](https://i.imgur.com/GZfjDWV.png){height:100%}
}}
<!-- Use --offsetX to shift the mask left or right (can use cm instead of %)