提交 cacf5871 编写于 作者: U unknown

弹出对话框的移动限制在屏幕区域内

上级 7eeee72a
......@@ -174,7 +174,7 @@ o2.xDesktop.Dialog = o2.DDL = new Class({
if (layout.desktop.currentApp) content = layout.desktop.currentApp.content;
this.containerDrag = new Drag.Move(this.node, {
"handle": this.title,
"container": this.options.container || this.markNode || content,
"container": this.options.positionNode || this.options.container || this.markNode || content,
"snap": 5
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册