Update toolbar.dart

pull/795/head
mark8044 3 years ago committed by GitHub
parent 9a62ee79f9
commit 9388221a41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/src/widgets/toolbar.dart

@ -202,7 +202,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
),
],
onSelected: (newSize) {
if (newSize != null) {
if (newSize != null) && (newSize > 0) {
controller
.formatSelection(Attribute.fromKeyValue('size', newSize));
}

Loading…
Cancel
Save