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