mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-05-07 19:06:40 +08:00
feat(stage): moveable origin改为false
This commit is contained in:
parent
7e216e72f2
commit
fb64e078b9
@ -358,7 +358,7 @@ export default class StageDragResize extends EventEmitter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
origin: true,
|
origin: false,
|
||||||
rootContainer: this.core.container,
|
rootContainer: this.core.container,
|
||||||
zoom: 1,
|
zoom: 1,
|
||||||
dragArea: false,
|
dragArea: false,
|
||||||
|
@ -47,14 +47,7 @@ export default class StageHighlight extends EventEmitter {
|
|||||||
this.moveable = new Moveable(this.container, {
|
this.moveable = new Moveable(this.container, {
|
||||||
target: this.target,
|
target: this.target,
|
||||||
scrollable: true,
|
scrollable: true,
|
||||||
origin: true,
|
origin: false,
|
||||||
zoom: 1,
|
|
||||||
bounds: {
|
|
||||||
top: 0,
|
|
||||||
left: 0,
|
|
||||||
right: this.container.clientWidth,
|
|
||||||
bottom: this.container.clientHeight,
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user