|
|
@ -358,7 +358,7 @@ export class LookOverBoardInfosModal extends React.Component<LookOverBoardInfosM
|
|
|
|
const rect = app.Editor.ModalManage.CurrentModal.rndDiv.getBoundingClientRect();
|
|
|
|
const rect = app.Editor.ModalManage.CurrentModal.rndDiv.getBoundingClientRect();
|
|
|
|
const { width, height, top, left } = rect;
|
|
|
|
const { width, height, top, left } = rect;
|
|
|
|
|
|
|
|
|
|
|
|
const newOption = { height, width, top: Math.max(top, 0), left: Math.max(left, 0), isMax: false };
|
|
|
|
const newOption = { height: Math.max(height, 500), width: Math.max(width, 1150), top: Math.max(top, 0), left: Math.max(left, 0), isMax: false };
|
|
|
|
|
|
|
|
|
|
|
|
const noChange = Object.keys(newOption).every(key => newOption[key] === bbsModelStore.option[key]);
|
|
|
|
const noChange = Object.keys(newOption).every(key => newOption[key] === bbsModelStore.option[key]);
|
|
|
|
if (!noChange && !bbsModelStore.option.isMax)
|
|
|
|
if (!noChange && !bbsModelStore.option.isMax)
|
|
|
|