Skip to content

Commit b5c76c3

Browse files
committed
🐛 [2.1.79] Fix true/false sliders
Fixes #94
1 parent 0797fa8 commit b5c76c3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
The following enhancements and changes have been made to ***Auto Build Marlin***.
44

5+
## 2.1.79
6+
- Config Editor: Fix true/false slider controls
7+
- Docs Panel: Show on first run
8+
59
## 2.1.78
610
- Docs Panel: Preserve last-used search filter
711
- Docs Panel: Use Flexbox layout, improve link bounds

abm/js/editview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ $(function () {
665665
}
666666
else if (type == 'bool') {
667667
const $cl = $("<label>", { class: 'bool' }),
668-
$cb = $('<input>', { type: 'checkbox', checked: val == 'true', value: 'true' }).bind('change', handleBoolField),
668+
$cb = $('<input>', { type: 'checkbox', checked: val == true, value: 'true' }).bind('change', handleBoolField),
669669
$sl = $("<div>", { class: 'slider round' });
670670
if (tclass) $cb.addClass(tclass);
671671
$cl.append($cb).append($sl).appendTo($linediv);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "auto-build",
33
"displayName": "Auto Build Marlin",
44
"description": "Provides an interface to configure, build, and upload Marlin Firmware.",
5-
"version": "2.1.78",
5+
"version": "2.1.79",
66
"preview": false,
77
"publisher": "marlinfirmware",
88
"icon": "icon.png",

0 commit comments

Comments
 (0)