discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

cancel method

  1. @override
void cancel(
  1. ToolContext ctx
)

Every cancel path (Escape, a switch to another tool, the layer's deactivate and dispose): the shape, the rings and the notice go, and the document's changes are no longer heard until the next event.

Implementation

@override
void cancel(ToolContext ctx) {
  _detach();
  _ringHover = false;
  super.cancel(ctx);
}