• Tim Hunt's avatar
    MDL-62411 qtype_ddmarker: fix issues found during review · 00f09d8f
    Tim Hunt authored
    * Editing the coordinate string now correctly updates the image only if
      the coordinates are valid.
    * ... and does the right thing if the number of handles has changed.
    * Dragging the shape handles is now constrained so that you cannot
      create a shape that goes beyond the edge of the image.
    * The PHP validation that the shape is within the imagehas also been
    * For Mac users, CMD+Click duplicates the handle like CTRL+Click.
    * Ensure the shape being edited is always on top of the otehrs.