Skip to content
Snippets Groups Projects
Unverified Commit 77f47d76 authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #12889 from ramonlsouza/fix-rtl-camera-resize

fix: webcam resize - RTL languages
parents 4ea0183b 91562f95
No related branches found
No related tags found
No related merge requests found
...@@ -476,8 +476,10 @@ class WebcamDraggable extends PureComponent { ...@@ -476,8 +476,10 @@ class WebcamDraggable extends PureComponent {
enable={{ enable={{
top: (webcamsPlacement === 'bottom') && !swapLayout, top: (webcamsPlacement === 'bottom') && !swapLayout,
bottom: (webcamsPlacement === 'top') && !swapLayout, bottom: (webcamsPlacement === 'top') && !swapLayout,
left: (webcamsPlacement === 'right') && !swapLayout, left: ((!isRTL && webcamsPlacement === 'right') || (isRTL && webcamsPlacement === 'left'))
right: (webcamsPlacement === 'left') && !swapLayout, && !swapLayout,
right: ((!isRTL && webcamsPlacement === 'left') || (isRTL && webcamsPlacement === 'right'))
&& !swapLayout,
topLeft: false, topLeft: false,
topRight: false, topRight: false,
bottomLeft: false, bottomLeft: false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment