mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-16 19:17:57 +01:00
use deconstion in code
This commit is contained in:
parent
7ddd97549a
commit
bea2a953a1
@ -129,9 +129,11 @@ export default class {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unRetract () {
|
unRetract () {
|
||||||
const retractionEnabled = this.settings.config['retractionEnabled'];
|
const {
|
||||||
const retractionMinDistance = this.settings.config['retractionMinDistance'];
|
retractionEnabled,
|
||||||
const retractionSpeed = this.settings.config['retractionSpeed'];
|
retractionMinDistance,
|
||||||
|
retractionSpeed
|
||||||
|
} = this.settings.config;
|
||||||
|
|
||||||
if (this.isRetracted && retractionEnabled) {
|
if (this.isRetracted && retractionEnabled) {
|
||||||
this.isRetracted = false;
|
this.isRetracted = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user