fix VideoScroll rotate property
This commit is contained in:
parent
f09faa3944
commit
66852229bd
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
left: `${Math.round(definition.left)}px`,
|
left: `${Math.round(definition.left)}px`,
|
||||||
width: isHorizontal ? `${Math.round(definition.width)}px` : 'auto',
|
width: isHorizontal ? `${Math.round(definition.width)}px` : 'auto',
|
||||||
height: isVertical ? `${Math.round(definition.height)}px` : 'auto',
|
height: isVertical ? `${Math.round(definition.height)}px` : 'auto',
|
||||||
rotate: `${definition.angle}deg`
|
transform: `rotate(${definition.angle}deg)`
|
||||||
}"
|
}"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
left: `${Math.round(file.left)}px`,
|
left: `${Math.round(file.left)}px`,
|
||||||
width: `${Math.round(definition.width)}px`,
|
width: `${Math.round(definition.width)}px`,
|
||||||
height: `${Math.round(definition.height)}px`,
|
height: `${Math.round(definition.height)}px`,
|
||||||
rotate: `${definition.angle}deg`
|
transform: `rotate(${definition.angle}deg)`
|
||||||
}"
|
}"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue