()
| 929 | } |
| 930 | |
| 931 | function zoomPrep() { |
| 932 | r0 = null; |
| 933 | r1 = null; |
| 934 | path0 = _this.pathSubplot(); |
| 935 | dimmed = false; |
| 936 | |
| 937 | var polarLayoutNow = gd._fullLayout[_this.id]; |
| 938 | lum = tinycolor(polarLayoutNow.bgcolor).getLuminance(); |
| 939 | |
| 940 | zb = dragBox.makeZoombox(zoomlayer, lum, cx, cy, path0); |
| 941 | zb.attr('fill-rule', 'evenodd'); |
| 942 | corners = dragBox.makeCorners(zoomlayer, cx, cy); |
| 943 | clearOutline(gd); |
| 944 | } |
| 945 | |
| 946 | // N.B. this sets scoped 'r0' and 'r1' |
| 947 | // return true if 'valid' zoom distance, false otherwise |
no test coverage detected
searching dependent graphs…