bugfix: tool input number buttons hidden
bugfix: UFP thumbnail (only 300px) bugfix: moonraker > websocket subscription bugfix: miniconsole > different line baseline bugfix: new metadata push > redirect to current file feature: show/hide colums in gcode-files feature: show/hide hidden files/dir feature: display missing config sections feature: display klippy-state in settings > machinies Signed-off-by: meteyou <meteyou@gmail.com>
This commit is contained in:
@@ -17,47 +17,38 @@
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<v-card v-if="fan">
|
||||
<v-card v-if="this['printer/getFans'].length">
|
||||
<v-toolbar flat dense >
|
||||
<v-toolbar-title>
|
||||
<span class="subheading"><v-icon :class="fan.speed > 0 ? 'mdi mdi-fan icon-rotate' : 'mdi mdi-fan'" left></v-icon>Tool Fan</span>
|
||||
<span class="subheading"><v-icon :class="'mdi mdi-fan '+(this['printer/getPartFanSpeed'] ? 'icon-rotate' : '')" left></v-icon>Fans</span>
|
||||
</v-toolbar-title>
|
||||
</v-toolbar>
|
||||
|
||||
<v-card-text class="py-2">
|
||||
<tool-slider :target="fan.speed" :multi="100" command="M106" attribute-name="S" :attribute-scale="2.55" ></tool-slider>
|
||||
</v-card-text>
|
||||
<div v-for="(fan, index) of this['printer/getFans']" v-bind:key="index">
|
||||
<v-divider v-if="index"></v-divider>
|
||||
<fan-slider :name="fan.name" :type="fan.type" :target="fan.speed" :controllable="fan.controllable" :multi="100" class="py-0" ></fan-slider>
|
||||
</div>
|
||||
</v-card>
|
||||
<v-card class="mt-6" v-if="['printing', 'paused'].includes(printer_state)">
|
||||
<v-card class="mt-6" v-if="['printing', 'paused'].includes(printer_state) || true">
|
||||
<v-toolbar flat dense >
|
||||
<v-toolbar-title>
|
||||
<span class="subheading"><v-icon class="mdi mdi-printer-3d" left></v-icon>Print Settings</span>
|
||||
</v-toolbar-title>
|
||||
</v-toolbar>
|
||||
|
||||
<v-card-text class="py-2">
|
||||
<v-row>
|
||||
<v-col class="py-0">
|
||||
<tool-slider prependIcon="mdi-timer" :target="speed_factor" :max="200" :multi="100" command="M220" attribute-name="S" ></tool-slider>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row>
|
||||
<v-col class="py-0">
|
||||
<tool-slider prependIcon="mdi-texture" :target="extrude_factor" :max="200" :multi="100" command="M221" attribute-name="S" ></tool-slider>
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
</v-card-text>
|
||||
<tool-slider label="Speed factor" :target="speed_factor" :max="200" :multi="100" :step="1" command="M220" attribute-name="S" ></tool-slider>
|
||||
<v-divider></v-divider>
|
||||
<tool-slider label="Extrusion factor" :target="extrude_factor" :max="200" :multi="100" :step="5" command="M221" attribute-name="S" ></tool-slider>
|
||||
</v-card>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {mapGetters, mapState} from 'vuex'
|
||||
import { mapState, mapGetters } from 'vuex'
|
||||
import FanSlider from '../../inputs/FanSlider'
|
||||
import ToolSlider from '../../inputs/ToolSlider'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
FanSlider,
|
||||
ToolSlider
|
||||
},
|
||||
data () {
|
||||
@@ -72,18 +63,9 @@
|
||||
printer_state: state => state.printer.print_stats.state,
|
||||
}),
|
||||
...mapGetters([
|
||||
'fan',
|
||||
'is_printing'
|
||||
])
|
||||
'printer/getFans',
|
||||
'printer/getPartFanSpeed',
|
||||
]),
|
||||
},
|
||||
methods: {
|
||||
|
||||
},
|
||||
mounted () {
|
||||
|
||||
},
|
||||
watch: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user