增加鼠标操作

This commit is contained in:
ival 2019-08-06 09:27:12 +08:00
parent 3ae415d6e9
commit 2ee8e24897

View File

@ -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);
} }