(nsew, dragmode, isMainDrag)
| 1147 | } |
| 1148 | |
| 1149 | function getDragCursor(nsew, dragmode, isMainDrag) { |
| 1150 | if(!nsew) return 'pointer'; |
| 1151 | if(nsew === 'nsew') { |
| 1152 | // in this case here, clear cursor and |
| 1153 | // use the cursor style set on <g .draglayer> |
| 1154 | if(isMainDrag) return ''; |
| 1155 | if(dragmode === 'pan') return 'move'; |
| 1156 | return 'crosshair'; |
| 1157 | } |
| 1158 | return nsew.toLowerCase() + '-resize'; |
| 1159 | } |
| 1160 | |
| 1161 | function makeZoombox(zoomlayer, lum, xs, ys, path0) { |
| 1162 | return zoomlayer.append('path') |
no outgoing calls
no test coverage detected
searching dependent graphs…