changed customStyles fix (#599)

pull/601/head
Andy Trand 3 years ago committed by GitHub
parent 9732f5093c
commit 60ef316a5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      lib/src/widgets/raw_editor.dart

@ -603,6 +603,11 @@ class RawEditorState extends EditorState
openConnectionIfNeeded();
}
}
// in case customStyles changed in new widget
if (widget.customStyles != null) {
_styles = _styles!.merge(widget.customStyles!);
}
}
bool _shouldShowSelectionHandles() {

Loading…
Cancel
Save