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 7, 2025
1 parent 5a33440 commit 4b6111f
Show file tree
Hide file tree
Showing 3 changed files with 29 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
27 changes: 27 additions & 0 deletions metadata/en-US/changelogs/127.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
* Redesign mobile home page
* Use tabs for easier navigation
* Dedicated files view
* Move settings into a tab
* Add toggleable tools
* Add palette name and pack to color picker dialog
* Add stroke width slider to pattern texture
* Move ruler into own tool
* Add color property
* Add size property
* Move grid into own tool
* Add offset property
* Move background button from project settings to top corner button
* Add password protected notes ([#771](https://github.com/LinwoodDev/Butterfly/issues/771))
* Add option to import svg as text ([#596](https://github.com/LinwoodDev/Butterfly/issues/596))
* Improve grid files view
* Improve slider and double input list tiles
* Change aspect ratio to use 3 fraction digits for area
* Fix undo/redo tools not showing status correctly
* Fix grid not working correctly
* Fix capture thumbnail uses wrong position
* 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 4b6111f

Please sign in to comment.