feat: icons for print settings (#441)
This commit is contained in:
parent
501b012bdb
commit
b533955bc3
@ -20,6 +20,9 @@
|
||||
{{ isLocked ? 'mdi-lock-outline' : 'mdi-lock-open-variant-outline' }}
|
||||
</v-icon>
|
||||
</v-btn>
|
||||
<v-icon small :class="'mr-2'">
|
||||
{{ icon }}
|
||||
</v-icon>
|
||||
<span>{{ label }}</span>
|
||||
<v-btn
|
||||
v-if="value !== defaultValue"
|
||||
@ -80,6 +83,7 @@ export default class ToolSlider extends Mixins(BaseMixin) {
|
||||
@Prop({ type: String, required: true }) readonly command!: string
|
||||
@Prop({ type: String, default: '' }) readonly attributeName!: string
|
||||
@Prop({ type: String, default: '' }) readonly label!: string
|
||||
@Prop({ type: String, default: '' }) readonly icon!: string
|
||||
@Prop({ type: String, default: '%' }) readonly unit!: string
|
||||
@Prop({ type: Number, default: 1 }) readonly attributeScale!: number
|
||||
@Prop({ type: Number, default: 0 }) readonly min!: number
|
||||
|
@ -12,6 +12,7 @@
|
||||
>
|
||||
<tool-slider
|
||||
:label="$t('Panels.PrintsettingsPanel.SpeedFactor')"
|
||||
icon="mdi-rabbit"
|
||||
:target="speed_factor"
|
||||
:max="200"
|
||||
:multi="100"
|
||||
@ -24,6 +25,7 @@
|
||||
<v-divider></v-divider>
|
||||
<tool-slider
|
||||
:label="$t('Panels.PrintsettingsPanel.ExtrusionFactor')"
|
||||
icon="mdi-printer-3d-nozzle-outline"
|
||||
:target="extrude_factor"
|
||||
:max="200"
|
||||
:multi="100"
|
||||
|
Loading…
x
Reference in New Issue
Block a user