All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- Fix that scale or resize with
keepRatio
, snap is wrong.
- Fix that guidelines do not appear when dragging.
- Add
scrollable
props. #39- Add
onScroll
,onScrollGroup
event - Add
scrollContainer
props - Add
getScrollPosition
props
- Add
- Add
currentTarget
andinputEvent
on all events #74 #86 - Add
setState
method #82 - Add
getRect
method #71 - Add
renderDirection
props #63 - Add
className
props #53 #63 - Add
onClick
event - Add
onRenderStart
,onRender
,onRenderEnd
events #52 - Add
onRenderGroupStart
,onRenderGroup
,onRenderGroupEnd
events #52 - Add
warp
in top, right, bottom and left directions.
- Fix target's boundingRect matrix caculation with scroll position
- Fix problem where the ratio is not maintained with keepRatio #70
- Fix that
el is undefined
#73 - Fix
dragArea
's caculation - Fix that
dragStart
method is not work with group - Fix that
clickGroup
event occurs whendragStart
a mousedown target - Fix that Moveable is deleted when a single target is changed to multiple targets
- Fix that miscaculate static parent's offset position
- Fix dragArea's transformOrigin
- Fix typo that
elemenGuildelines
toelementGuidelines
#62
- Update PreactX
- fix that setState is not a function #56
- fix that parent drag event occur snap.
- fix that resizing north, west direction occur decimal point issue.
- Disable pinchable with snappable.
- Fix offset caculation for Webkit
- fix that keepRatio want to behave like sketches and illustrators. #47
- fix keepRatio default false
- fix that bounds don't apply when snap
- remove console.log
- Add Snappable (Drag, Resize, Scale, Warp) (#6)
- Add
horizontalGuidelines
&verticalGuidelines
&elementGuidelines
(#6) - Add
bounds
option (boundaries) (#23, #24) - Add
rotationPositoin
option for rotation handle position (#40) - Add
dragArea
option (#38) - Add
dragStart
event onresizeStart
,scaleStart
. (#9) - Add
drag
event onresize
,scale
. (#9) - Add
set
parameter function onwarpStart
.
- north and west controls want to behave like photoshop (#9)
- Fix offset caculation for Webkit
- Add
pinchThreshold
option that set minimum distance to pinch easily. - Add
events
parameter for allgroupStart
event. (such asonDragGroupStart
,onScaleGroupStart
, ...etc) - Add
clickGroup
event to find clicked target in the group - Add
set
event method for allstart
event for absolute value. (such asonDragStart
,onScaleStart
, ...etc) #16 - Add
dragStart
method for external mouse, touch event. - Add
isInside
method that the coordinates are inside Moveable
- Update @daybrush/[email protected]
- Fix the way dist is used in
onScale
event
- Update @daybrush/[email protected]
- Fix that pinch does not occur when pressed at the same time.
- Fix that scrolls and drags occur simultaneously and racks occur. #27
- Fix that mis-calculating when a static element is a parent.1 #28
- Fix that destroy() error #30
- Fix infinite loop issue.
- Remove react types.
- Remove unnecessary code.
- Add Groupable
- Add edge option
- fix that do not call
resizeEnd
#19
- fix ESM config
- fix missing throttleScale
- Update framework-utils and It reduced sizes by 2 kb based on min file.
- fix destroy method for property release issue. #18
- Support SVG Elements #13
- Support SVG Transform Origin in Safari, iOS #13
- Add datas parameter to send data #12
- Add pinchable option and events #11
- The default value of
container
option is fixed toparentElement
. - Fix Rotatable for distorted axis.
- Add destroy method. #14
- Fix that the getter method gets incorrect values.
- Fix that the
warpEnd
event didn't call
- Add Warpable and option, events
- Support SVG Offset (Only SVG Tag)
- Support 3d transform(matrix) (
perspective
is not yet supported.)
- Fix right mouse click issue #7
- Synchronize target's shape. (Previously, it worked independently of target's shape.)