Commit Graph

15 Commits

Author SHA1 Message Date
93884e2e93 Fix initial slicing dimensions in CropEditor.setDefaultCrop.
Subtle bug. This has been in for years... :)
2020-12-30 13:05:22 +01:00
2a740d8cef Constrain boundary movement to image canvas. 2020-12-30 13:05:22 +01:00
5e0d4df2f7 Allow moving/dragging the crop boundary.
Currently unconstrained.
2020-12-30 13:05:22 +01:00
e84c4f2b43 Constrain crop selection to image dimensions. 2020-12-30 13:05:22 +01:00
893d31af52 Proper dragging of the crop bounding rectangle/area. 2020-12-30 13:05:22 +01:00
5895f4faa6 Rewrite CropEditor.positionBoundary 2020-12-30 13:05:22 +01:00
8e7a09f3f3 Initial version of crop boundary dragging. 2020-12-30 13:05:22 +01:00
837c92db44 CropEditor: split setDefaultCrop from setInputValues and rename. 2020-12-30 13:05:22 +01:00
c392105814 Refactor crop editor DOM functions. 2020-12-30 13:05:22 +01:00
9d95df81fe WIP: finally implement drag events. 2020-12-30 13:05:22 +01:00
d4cc72304e Use flexbox for crop editor box sizing. 2020-12-30 13:05:21 +01:00
2c68b6a798 Improve crop editor styling. 2020-12-30 13:05:21 +01:00
fd84e1c9f8 Refactor crop editor into a proper class. 2020-12-30 13:05:21 +01:00
cda7f3115c Fix crop editor. 2017-11-09 17:00:36 +01:00
ab0e4efbcb Initial commit.
This is to be the new HashRU website based on the Aaronweb.net/Kabuki CMS.
2017-11-09 17:00:22 +01:00