회로할당 저장 시 result=null인 경우에도 회로번호 텍스트 표시 유지 처리
This commit is contained in:
parent
66b95b565c
commit
c81d4a8751
@ -335,9 +335,13 @@ export default function CircuitTrestleSetting({ id }) {
|
|||||||
|
|
||||||
handleCanvasToPng(1)
|
handleCanvasToPng(1)
|
||||||
|
|
||||||
|
//회로할당 저장 클릭 시
|
||||||
const result = await apply()
|
const result = await apply()
|
||||||
if (result) {
|
|
||||||
|
//회로할당 저장 시 result=null인 경우에도 회로번호 텍스트 표시 유지 처리
|
||||||
setViewCircuitNumberTexts(true)
|
setViewCircuitNumberTexts(true)
|
||||||
|
|
||||||
|
if (result) {
|
||||||
handleCanvasToPng(2)
|
handleCanvasToPng(2)
|
||||||
// 캔버스 저장
|
// 캔버스 저장
|
||||||
await saveCanvas(false)
|
await saveCanvas(false)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user