모듈 흡착 수정, 모듈창 토글 수정
This commit is contained in:
parent
8be2e3e232
commit
51d892ed29
@ -318,8 +318,10 @@ const Placement = forwardRef((props, refs) => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="hide-check-guide">
|
<div className="hide-check-guide">
|
||||||
{getMessage('modal.module.basic.setting.module.placement.max.size.check')}
|
<div onClick={() => setUseTab(!useTab)}>
|
||||||
<button className={`arr ${!useTab ? 'act' : ''}`} onClick={() => setUseTab(!useTab)}></button>
|
{getMessage('modal.module.basic.setting.module.placement.max.size.check')}
|
||||||
|
<button className={`arr ${!useTab ? 'act' : ''}`}></button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className={`module-table-box mt10 ${useTab ? 'hide' : ''}`}>
|
<div className={`module-table-box mt10 ${useTab ? 'hide' : ''}`}>
|
||||||
<div className="module-table-inner">
|
<div className="module-table-inner">
|
||||||
|
|||||||
@ -661,7 +661,7 @@ export function useModuleBasicSetting(tabNum) {
|
|||||||
|
|
||||||
//가운데 가운데
|
//가운데 가운데
|
||||||
if (Math.abs(smallCenterY - holdCellCenterY) < snapDistance) {
|
if (Math.abs(smallCenterY - holdCellCenterY) < snapDistance) {
|
||||||
tempModule.top = holdCellCenterY - toFixedWithoutRounding(width / 2, 2)
|
tempModule.top = holdCellCenterY - toFixedWithoutRounding(height / 2, 2)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isChidori) {
|
if (isChidori) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user