지붕재 w,l 값이 없는경우 default값 추가
This commit is contained in:
parent
59f7c9619f
commit
afea0f7c30
@ -12,8 +12,8 @@ export function useRoofFn() {
|
||||
const ratio = window.devicePixelRatio || 1
|
||||
const layout = roofMaterial.layout
|
||||
|
||||
let width = roofMaterial.width / 10
|
||||
let height = roofMaterial.length / 10
|
||||
let width = (roofMaterial.width ?? 226) / 10
|
||||
let height = (roofMaterial.length ?? 158) / 10
|
||||
let roofStyle = 2
|
||||
const inputPatternSize = { width: width, height: height } //임시 사이즈
|
||||
const patternSize = { ...inputPatternSize } // 입력된 값을 뒤집기 위해
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user