mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 11:33:49 +01:00
use deconstruction
This commit is contained in:
parent
0eb2a3994f
commit
7360fc86bc
10
src/gcode.js
10
src/gcode.js
@ -151,10 +151,12 @@ export default class {
|
|||||||
}
|
}
|
||||||
|
|
||||||
retract () {
|
retract () {
|
||||||
const retractionAmount = this.settings.config['retractionAmount'];
|
const {
|
||||||
const retractionEnabled = this.settings.config['retractionEnabled'];
|
retractionAmount,
|
||||||
const retractionMinDistance = this.settings.config['retractionMinDistance'];
|
retractionEnabled,
|
||||||
const retractionSpeed = this.settings.config['retractionSpeed'];
|
retractionMinDistance,
|
||||||
|
retractionSpeed
|
||||||
|
} = this.settings;
|
||||||
|
|
||||||
if (!this.isRetracted && retractionEnabled) {
|
if (!this.isRetracted && retractionEnabled) {
|
||||||
this.isRetracted = true;
|
this.isRetracted = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user