dev #84
|
@ -37,12 +37,12 @@ const setPillarValues = () => {
|
|||
}
|
||||
}
|
||||
|
||||
const getExtraValue = () => (extra_section.value && props.last_element) ? extra_section.value * 0.001 : false
|
||||
const getExtraValue = () => (extra_section.value && props.last_element && !props.first_element) ? extra_section.value * 0.001 : false
|
||||
const extra = ref(getExtraValue())
|
||||
setPillarValues()
|
||||
|
||||
const make_translate_to_section = (source = fence_section.value) => {
|
||||
const one_s = (source + pillar_size) * scale_koef
|
||||
const one_s = (source + (remove_pillar.value ? 0 : pillar_size)) * scale_koef
|
||||
let r = (props.index - 1) * one_s
|
||||
if (typeof extra.value == 'number') {
|
||||
r -= (fence_section.value - extra.value) * scale_koef * 0.5
|
||||
|
|
Loading…
Reference in New Issue