interact method

Quality? interact(
  1. Point<num> mouse,
  2. bool click
)

Implementation

Quality? interact(Point mouse, bool click) {
  Quality? labelRender;

  if (!click) {
    labelRender = showLabel(mouse);
  }

  var editRender = edit(mouse, click);

  if (editRender != null) {
    _notifyOnChange();
  }

  if (editRender != null) return editRender;
  return labelRender;
}