增加鼠标操作
This commit is contained in:
parent
3ae415d6e9
commit
2ee8e24897
@ -170,7 +170,7 @@ class MouseController extends Eventful {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 如果实例有选中函数并且被点击,则执行选中函数
|
// 如果实例有选中函数并且被点击,则执行选中函数
|
||||||
if (newDevice.mouseEvent && newDevice.mouseEvent.mouseover) {
|
if (e.which == 3 && newDevice.mouseEvent && newDevice.mouseEvent.mouseover) {
|
||||||
newDevice.mouseEvent['down'] = true;
|
newDevice.mouseEvent['down'] = true;
|
||||||
newDevice.mouseEvent['mouseover'](e);
|
newDevice.mouseEvent['mouseover'](e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user