Merge branch 'danielyxie:dev' into dev

This commit is contained in:
quacksouls 2022-09-02 22:03:13 +10:00 committed by GitHub
commit c12c47007b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

2
dist/main.bundle.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -171,7 +171,6 @@ function LogWindow(props: IProps): React.ReactElement {
const node = rootRef?.current; const node = rootRef?.current;
if (!node) return; if (!node) return;
const state = node.state as { x: number; y: number }; const state = node.state as { x: number; y: number };
console.log(`before ${state.x} ${state.y}`);
state.x = x; state.x = x;
state.y = y; state.y = y;
}; };
@ -315,8 +314,8 @@ function LogWindow(props: IProps): React.ReactElement {
ref={container} ref={container}
> >
<ResizableBox <ResizableBox
height={size[0]} width={size[0]}
width={size[1]} height={size[1]}
onResize={onResize} onResize={onResize}
minConstraints={minConstraints} minConstraints={minConstraints}
handle={ handle={