diff --git a/lib/widgets/toolbar.dart b/lib/widgets/toolbar.dart index 669fc340..1137e518 100644 --- a/lib/widgets/toolbar.dart +++ b/lib/widgets/toolbar.dart @@ -596,6 +596,8 @@ class _ColorButtonState extends State { colorHex = hex; if (colorHex == "#ffffff") { isWhite = true; + } else { + isWhite = false; } }); widget.controller.formatSelection(