Merge pull request '점선그리드만 제거' (#611) from dev into prd-deploy
Reviewed-on: #611
This commit is contained in:
commit
1431dd9d9e
@ -152,12 +152,16 @@ 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) => (
|
||||
<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) =>
|
||||
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>
|
||||
),
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
{/*<ColorPickerModal {...colorPickerProps} />*/}
|
||||
|
||||
@ -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} />}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user