You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I missed a few bugs in my haste to make a release. Went through and
fixed those, and also changed the `steps` option to `step` as that
seemed to make more semantic sense.
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
-
jquery-ui-rotatable is a plugin for jQuery UI that works in a similar way to Draggable and Resizable, without being as full-featured (please fork and send me pull requests!). By default, it puts a small rotation icon in the bottom left of whatever element you want to make rotatable. I chose that area because it was originally being used in [Herald](https://github.com/godswearhats/herald) and the elements in that project were also resizable and I didn't want to interfere with the bottom/right controls for that.
1
+
jquery-ui-rotatable is a plugin for jQuery UI that works in a similar way to Draggable and Resizable, without being as full-featured (please fork and send me pull requests!). By default, it puts a small rotation icon in the bottom left of whatever element you want to make rotatable.
<!-- this is small and will allow you to override look/feel of handle -->
@@ -42,8 +42,8 @@ Options that can be set when you call `.rotatable()` are:
42
42
* handle: url to a custom image for the handle
43
43
* angle: the starting rotation for the element (default 0 degrees)
44
44
* rotationCenterX, rotationCenterY: position about which the element will be rotated
45
-
*steps: an angle in degrees that the rotation will snap to if the shift key is held (default 22.5)
46
-
* snap: snaps to step in degrees, even if shift key is not held (default: false)
45
+
*step: an angle in degrees that the rotation will snap to if the shift key is held (default 22.5)
46
+
* snap: snaps to `step` in degrees (default: false)
47
47
* start, stop, rotate: callbacks when those events occur
48
48
49
49
The start, rotate and stop callbacks provide the following in the ui argument of the callback:
@@ -68,7 +68,7 @@ A simple demo is in the source code, but can be visited [here](http://godswearha
68
68
69
69
### Thanks
70
70
71
-
Many thanks to those of you who have reported issues and helped me diagnose and fix them! Specifically, @thehunmonkgroup, @ssimono, @theodorton, @rouxguiguiand @tremez
71
+
Many thanks to those of you who have reported issues and helped me diagnose and fix them! Also, thank you to all the contributors who have sent pull requests and put up with my laziness :-)
0 commit comments