fix VideoScroll rotate property

This commit is contained in:
Tomáš Mládek 2021-01-20 23:07:02 +01:00
parent f09faa3944
commit 66852229bd

View file

@ -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>