Skip to content

Commit

Permalink
Fix default stroke width, closes #779
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Jan 6, 2025
1 parent 420e45b commit 25ca214
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/lib/selections/properties/path.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mixin PathPropertySelection<T extends PathProperty> on PropertySelection<T> {
value: property.strokeWidth,
min: 0.1,
max: 70,
defaultValue: 25,
defaultValue: 5,
onChangeEnd: (value) => onChanged(
(property as dynamic).copyWith(strokeWidth: value) as T)),
ExactSlider(
Expand Down
2 changes: 1 addition & 1 deletion app/lib/selections/tools/laser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class LaserToolSelection extends ToolSelection<LaserTool> {
value: selected.first.strokeWidth,
min: 0,
max: 70,
defaultValue: 25,
defaultValue: 5,
onChangeEnd: (value) => update(
context,
selected.map((e) => e.copyWith(strokeWidth: value)).toList(),
Expand Down
1 change: 1 addition & 0 deletions metadata/en-US/changelogs/127.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
* Fix zoom slider is not centered
* Fix shape detection list tile not clickable
* Fix svg export shows wrong initial preset
* Fix default stroke width ([#779](https://github.com/LinwoodDev/Butterfly/issues/779))

Read more here: https://linwood.dev/butterfly/2.3.0-beta.0

0 comments on commit 25ca214

Please sign in to comment.