Skip to content

Commit

Permalink
[Automated] Merged develop into target master
Browse files Browse the repository at this point in the history
  • Loading branch information
meteyou committed May 4, 2024
2 parents c6c71ec + 178f0e7 commit e639e08
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
# Changelog
All notable changes to Mainsail will be documented in this file.

## [2.11.1](https://github.com/mainsail-crew/mainsail/releases/tag/v2.11.1) - 2024-05-01
### Bug Fixes and Improvements

- **farm**: Fix switching to other printer function ([#1865](https://github.com/mainsail-crew/mainsail/pull/1865))

## [2.11.0](https://github.com/mainsail-crew/mainsail/releases/tag/v2.11.0) - 2024-04-28
### Features

Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mainsail",
"version": "2.11.1",
"version": "2.11.2",
"private": true,
"decription": "a klipper web interface",
"author": {
Expand Down
1 change: 1 addition & 0 deletions src/components/dialogs/SpoolmanChangeSpoolDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ export default class SpoolmanChangeSpoolDialog extends Mixins(BaseMixin) {
const querySplits = search.toLowerCase().split(' ')
const searchArray = [
item.id.toString(),
item.comment,
item.filament.name,
item.filament.vendor.name,
Expand Down
3 changes: 2 additions & 1 deletion src/components/inputs/MiscellaneousSlider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,10 @@ export default class MiscellaneousSlider extends Mixins(BaseMixin) {
sendCmd(newVal: number): void {
if (this.value === newVal) return

let gcode = `SET_PIN PIN=${this.name} VALUE=${newVal.toFixed(2)}`
if (newVal < this.min) newVal = 0
newVal = newVal * this.multi

let gcode = `SET_PIN PIN=${this.name} VALUE=${newVal.toFixed(2)}`
if (this.type === 'fan') gcode = `M106 S${newVal.toFixed(0)}`
if (this.type === 'fan_generic') gcode = `SET_FAN_SPEED FAN=${this.name} SPEED=${newVal}`
if (this.type === 'led')
Expand Down
2 changes: 1 addition & 1 deletion src/store/gui/maintenance/getters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const getters: GetterTree<GuiMaintenanceState, any> = {
}

if (entry.reminder.printtime.bool) {
const end = entry.start_printtime + (entry.reminder.printtime.value ?? 0)
const end = entry.start_printtime + (entry.reminder.printtime.value ?? 0) * 3600

if (end <= currentTotalPrintTime) return true
}
Expand Down

0 comments on commit e639e08

Please sign in to comment.