Compare commits

..

No commits in common. "1431dd9d9e32409a0b911b637d7f1f5fd9e66f24" and "84c26428007f9c0c513ff8ba37316b7ffe9511a2" have entirely different histories.

2 changed files with 8 additions and 12 deletions

View File

@ -152,16 +152,12 @@ export default function GridOption(props) {
<div className="modal-check-btn-wrap">
<h3 className="check-wrap-title light">{getMessage('modal.canvas.setting.grid')}</h3>
<div className="flex-check-box for2">
{gridOptions?.map((option) =>
option.id === 2 ? (
<></>
) : (
<button key={option.id} className={`check-btn ${option.selected ? 'act' : ''}`} onClick={(e) => onClickOption(option)}>
<span className="check-area"></span>
<span className="title-area">{getMessage(option.name)}</span>
</button>
),
)}
{gridOptions?.map((option) => (
<button key={option.id} className={`check-btn ${option.selected ? 'act' : ''}`} onClick={(e) => onClickOption(option)}>
<span className="check-area"></span>
<span className="title-area">{getMessage(option.name)}</span>
</button>
))}
</div>
</div>
{/*<ColorPickerModal {...colorPickerProps} />*/}

View File

@ -100,11 +100,11 @@ export default function SettingModal01(props) {
<button className={`btn-frame modal ${buttonAct === 2 ? 'act' : ''}`} onClick={() => handleBtnClick(2)}>
{getMessage('modal.canvas.setting.font.plan')}
</button>
{canGridOptionSeletorValue && (
{/*{canGridOptionSeletorValue && (
<button className={`btn-frame modal ${buttonAct === 3 ? 'act' : ''}`} onClick={() => handleBtnClick(3)}>
{getMessage('modal.canvas.setting.grid')}
</button>
)}
)}*/}
</div>
{buttonAct === 1 && <FirstOption {...firstProps} />}
{buttonAct === 2 && <SecondOption {...secondProps} />}