mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
fix(stage): 在 stage 拖拽改变父容器的BUG
从大容器 到内部小容器 拖拽, 不会改变父容器的问题, 例如: 场景组件 : 1. page: Page 2. page 的子组件: 按钮Button 3. page 的子组件: 组Group 操作: 1. 拖住Button 不动, 激活当前父容器Page, 这时Page变暗, 被选择为目标父容器。 2. 继续不松手,再拖至P的子组件Group上方去选择Group,Page还是拥有被选择的样式,Group并未被选为目标父容器。 3. 松开鼠标按键完成拖放, Button 还是在Page内。
This commit is contained in:
parent
4ff07ea5a9
commit
0a1cf060a5
@ -7,4 +7,5 @@
|
||||
left: 0;
|
||||
background-color: #000;
|
||||
opacity: .1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user