diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-20 22:14:21 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-20 22:14:21 +0100 |
| commit | 19cf3a296741b92548849b1f40e0d3cc517f2fcc (patch) | |
| tree | a6987f9a679b19c96bdef018c64dcabfbbe48faf /frontend/app/views/tile/handles/tile.image.js | |
| parent | 50d5c3c2f10725af8ebb6db47c209f7000abc8f4 (diff) | |
dimensions based on video
Diffstat (limited to 'frontend/app/views/tile/handles/tile.image.js')
| -rw-r--r-- | frontend/app/views/tile/handles/tile.image.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/app/views/tile/handles/tile.image.js b/frontend/app/views/tile/handles/tile.image.js index fd34876..beeb36a 100644 --- a/frontend/app/views/tile/handles/tile.image.js +++ b/frontend/app/views/tile/handles/tile.image.js @@ -1,10 +1,10 @@ import React from 'react' import { generateTransform } from 'app/views/tile/tile.utils' -export default function TileImage({ tile, box, viewing, onMouseDown, onDoubleClick }) { +export default function TileImage({ tile, box, videoBounds, viewing, onMouseDown, onDoubleClick }) { // console.log(tile) const style = { - transform: generateTransform(tile, box), + transform: generateTransform(tile, box, videoBounds), opacity: tile.settings.opacity, } // console.log(generateTransform(tile)) |
