mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +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 {
|
||||
origin: true,
|
||||
origin: false,
|
||||
rootContainer: this.core.container,
|
||||
zoom: 1,
|
||||
dragArea: false,
|
||||
|
@ -47,14 +47,7 @@ export default class StageHighlight extends EventEmitter {
|
||||
this.moveable = new Moveable(this.container, {
|
||||
target: this.target,
|
||||
scrollable: true,
|
||||
origin: true,
|
||||
zoom: 1,
|
||||
bounds: {
|
||||
top: 0,
|
||||
left: 0,
|
||||
right: this.container.clientWidth,
|
||||
bottom: this.container.clientHeight,
|
||||
},
|
||||
origin: false,
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user