TheOpenCloudEngine / uEngine5-base

uEngine5 BPMS that totally re-written in Microservices architecture. uEngine5 can act as not only a conventional Workflow or BPMS but also as a REST api orchestrator or a BPaaS (Business process as a service) of members of OCE's MSA components.
MIT License
10 stars 13 forks source link

마우스 휠 이벤트 -> control key shift 추가 #82

Open jinyoung opened 6 years ago

jinyoung commented 6 years ago

OpenGraph-0.1.3-SNAPSHOT.js 에서

        $(rootEle).bind('mousewheel DOMMouseScroll', function (event) {

////////////////////  여기에 key shift 여부를 판단 ////////////////////

            if (me._CONFIG.WHEEL_SCALABLE) {

                //터치패드 이벤트와 마우스 휠 스피드의 차이는 매우 크다.
                //터치패드 0~10, 마우스 휠 400 이상.

                var deltaX = 0;
                var deltaY = 0;
                deltaX = event.originalEvent.wheelDeltaX || event.deltaX || 0;
                deltaY = event.originalEvent.wheelDeltaY || event.deltaY || 0;