nl_tokens: Disable zooming out if panning .
pl_tokens: function ( event , g , context ) { if ( context . cancelNextDblclick ) { context . cancelNextDblclick = false ; return ; } // Give plugins a chance to grab this event. var e = { canvasx : context . dragEndX , canvasy : context . dragEndY , cancelable : true , } ; if ( g . cascadeEvents_ ( 'dblclick' , e ) ) { return ; } if ( event . altKey || <mask> . shiftKey ) { return ; } g . resetZoom ( ) ; }