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`,
|
||||
width: isHorizontal ? `${Math.round(definition.width)}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`,
|
||||
width: `${Math.round(definition.width)}px`,
|
||||
height: `${Math.round(definition.height)}px`,
|
||||
rotate: `${definition.angle}deg`
|
||||
transform: `rotate(${definition.angle}deg)`
|
||||
}"
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue