1
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
const action = e.action;
|
||||
const list = [];
|
||||
const id = object.id;
|
||||
if (action === "drag") {
|
||||
if (action === "drag" || action === "rotate") {
|
||||
list.push({
|
||||
id: id,
|
||||
action: ACTIONS.UPDATE,
|
||||
@@ -114,13 +114,14 @@
|
||||
key: KEYS.O_LEFT,
|
||||
value: object.left,
|
||||
});
|
||||
} else if (action === "rotate") {
|
||||
list.push({
|
||||
id: id,
|
||||
action: ACTIONS.UPDATE,
|
||||
key: KEYS.O_ANGLE,
|
||||
value: object.angle,
|
||||
});
|
||||
if (action === "rotate") {
|
||||
list.push({
|
||||
id: id,
|
||||
action: ACTIONS.UPDATE,
|
||||
key: KEYS.O_ANGLE,
|
||||
value: object.angle,
|
||||
});
|
||||
}
|
||||
} else if (action === "scale") {
|
||||
list.push({
|
||||
id: id,
|
||||
|
||||
Reference in New Issue
Block a user