Skip to content

Commit

Permalink
Remove needless resize of container children when clicked and dragged (
Browse files Browse the repository at this point in the history
  • Loading branch information
sherfin94 authored Jun 9, 2022
1 parent 292673a commit 738acff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/Editor/SubContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export const SubContainer = ({

function getContainerCanvasWidth() {
if (containerCanvasWidth !== undefined) {
return containerCanvasWidth;
return containerCanvasWidth - 2;
}
let width = 0;
if (parentRef.current) {
Expand Down

0 comments on commit 738acff

Please sign in to comment.