Skip to content

Commit

Permalink
fix: change strokeWidth in Component (#1431)
Browse files Browse the repository at this point in the history
  • Loading branch information
st-pasha authored Mar 10, 2022
1 parent 59368c5 commit 0e174fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flame/lib/src/components/component.dart
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class Component {
if (!_debugPaintCache.isCacheValid([debugColor])) {
final paint = Paint()
..color = debugColor
..strokeWidth = 1
..strokeWidth = 0 // hairline-width
..style = PaintingStyle.stroke;
_debugPaintCache.updateCache(paint, [debugColor]);
}
Expand Down

0 comments on commit 0e174fe

Please sign in to comment.