Skip to content

Commit

Permalink
strokeProperties: enable smoothing on web
Browse files Browse the repository at this point in the history
  • Loading branch information
adil192 committed Dec 27, 2022
1 parent a734ab9 commit e485687
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/components/canvas/tools/stroke_properties.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:saber/components/canvas/tools/highlighter.dart';

class StrokeProperties {
static const Color defaultColor = Colors.black;
static const double defaultSize = 10;
static const double defaultThinning = 0.7;
static const double defaultSmoothing = 0;
static const double defaultSmoothing = kIsWeb ? 0.5 : 0;
static const double defaultStreamline = 0.5;
static const double defaultTaperStart = 0.0;
static const double defaultTaperEnd = 0.0;
Expand Down

0 comments on commit e485687

Please sign in to comment.