0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Add rotation to corners snippet

This commit is contained in:
Trevor Buckner
2023-02-02 11:49:25 -05:00
parent 096e281a6c
commit 5eb1d58059

View File

@@ -13,7 +13,7 @@ module.exports = {
corner : ()=>{
return dedent`
{{imageMaskCorner${_.random(1, 8)},--offsetX:0%,offsetY:0%
{{imageMaskCorner${_.random(1, 8)},--offsetX:0%,offsetY:0%,--rotation:0
![](https://i.imgur.com/1w5khYt.png){height:100%}
}}
<!-- Use --offsetX to shift the mask left or right (you can use cm instead of %)