Skip to content

Commit c55073f

Browse files
committed
Test layout
1 parent 9bb1a4c commit c55073f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jderobot-ide-interface",
3-
"version": "0.1.98",
3+
"version": "0.1.99",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"files": [

src/components/ResizableLayout/ResizableComponents.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ export const ResizableRow = ({
159159
children: any[];
160160
}) => {
161161
const theme = useTheme();
162-
var components = children;
163-
var componentsBaseWidth = baseWidth;
164-
var componentsMaxWidth = maxWidth;
162+
var components = children.copyWithin(-1,0);
163+
var componentsBaseWidth = baseWidth.copyWithin(-1,0);
164+
var componentsMaxWidth = maxWidth.copyWithin(-1,0);
165165

166166
console.log("Before", children, baseWidth, maxWidth)
167167

0 commit comments

Comments
 (0)