fix VideoScroll rotate property

master v0.1.1
Tomáš Mládek 2021-01-20 23:07:02 +01:00
parent f09faa3944
commit 66852229bd
1 changed files with 2 additions and 2 deletions

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>