@@ -30,6 +30,8 @@
<defs>
<PatternDefs
v-if="elementInfo.pattern"
+ :width="elementInfo.width"
+ :height="elementInfo.height"
:id="`base-pattern-${elementInfo.id}`"
:src="elementInfo.pattern"
/>
@@ -1,6 +1,6 @@
<template>
- <pattern :id="id" patternContentUnits="objectBoundingBox" patternUnits="objectBoundingBox" width="1" height="1">
- <image :href="src" width="1" height="1" preserveAspectRatio="xMidYMid slice" />
+ <pattern :id="id" patternContentUnits="objectBoundingBox" patternUnits="objectBoundingBox" :width="width" :height="height">
+ <image :href="src" :width="width" :height="height" preserveAspectRatio="xMidYMid slice" />
</pattern>
</template>