@@ -1180,13 +1180,13 @@ function pointer(p5, fn, lifecycles){
11801180 this . _activePointers . set ( e . pointerId , e ) ;
11811181 this . _setMouseButton ( e ) ;
11821182
1183- if ( ! this . mouseIsPressed && this . customActions . mouseMoved ) {
1184- executeDefault = this . customActions . mouseMoved ( e ) ;
1183+ if ( ! this . mouseIsPressed && this . _customActions . mouseMoved ) {
1184+ executeDefault = this . _customActions . mouseMoved ( e ) ;
11851185 if ( executeDefault === false ) {
11861186 e . preventDefault ( ) ;
11871187 }
1188- } else if ( this . mouseIsPressed && this . customActions . mouseDragged ) {
1189- executeDefault = this . customActions . mouseDragged ( e ) ;
1188+ } else if ( this . mouseIsPressed && this . _customActions . mouseDragged ) {
1189+ executeDefault = this . _customActions . mouseDragged ( e ) ;
11901190 if ( executeDefault === false ) {
11911191 e . preventDefault ( ) ;
11921192 }
@@ -1343,8 +1343,8 @@ function pointer(p5, fn, lifecycles){
13431343 this . _setMouseButton ( e ) ;
13441344 this . _updatePointerCoords ( e ) ;
13451345
1346- if ( this . customActions . mousePressed ) {
1347- executeDefault = this . customActions . mousePressed ( e ) ;
1346+ if ( this . _customActions . mousePressed ) {
1347+ executeDefault = this . _customActions . mousePressed ( e ) ;
13481348 if ( executeDefault === false ) {
13491349 e . preventDefault ( ) ;
13501350 }
@@ -1503,8 +1503,8 @@ function pointer(p5, fn, lifecycles){
15031503
15041504 this . _updatePointerCoords ( e ) ;
15051505
1506- if ( this . customActions . mouseReleased ) {
1507- executeDefault = this . customActions . mouseReleased ( e ) ;
1506+ if ( this . _customActions . mouseReleased ) {
1507+ executeDefault = this . _customActions . mouseReleased ( e ) ;
15081508 if ( executeDefault === false ) {
15091509 e . preventDefault ( ) ;
15101510 }
@@ -1658,8 +1658,8 @@ function pointer(p5, fn, lifecycles){
16581658 * </div>
16591659 */
16601660 fn . _onclick = function ( e ) {
1661- if ( this . customActions . mouseClicked ) {
1662- const executeDefault = this . customActions . mouseClicked ( e ) ;
1661+ if ( this . _customActions . mouseClicked ) {
1662+ const executeDefault = this . _customActions . mouseClicked ( e ) ;
16631663 if ( executeDefault === false ) {
16641664 e . preventDefault ( ) ;
16651665 }
@@ -1788,8 +1788,8 @@ function pointer(p5, fn, lifecycles){
17881788 */
17891789
17901790 fn . _ondblclick = function ( e ) {
1791- if ( this . customActions . doubleClicked ) {
1792- const executeDefault = this . customActions . doubleClicked ( e ) ;
1791+ if ( this . _customActions . doubleClicked ) {
1792+ const executeDefault = this . _customActions . doubleClicked ( e ) ;
17931793 if ( executeDefault === false ) {
17941794 e . preventDefault ( ) ;
17951795 }
@@ -1936,9 +1936,9 @@ function pointer(p5, fn, lifecycles){
19361936 */
19371937 fn . _onwheel = function ( e ) {
19381938 this . _mouseWheelDeltaY = e . deltaY ;
1939- if ( this . customActions . mouseWheel ) {
1939+ if ( this . _customActions . mouseWheel ) {
19401940 e . delta = e . deltaY ;
1941- const executeDefault = this . customActions . mouseWheel ( e ) ;
1941+ const executeDefault = this . _customActions . mouseWheel ( e ) ;
19421942 if ( executeDefault === false ) {
19431943 e . preventDefault ( ) ;
19441944 }
0 commit comments