(e)
| 133 | } |
| 134 | |
| 135 | function onwheel(e) { |
| 136 | e.preventDefault(); |
| 137 | const $el = e.target; |
| 138 | const { $row1, $row2 } = quickTools; |
| 139 | let $row; |
| 140 | |
| 141 | if ($row1?.contains($el)) { |
| 142 | $row = $row1; |
| 143 | } else if ($row2?.contains($el)) { |
| 144 | $row = $row2; |
| 145 | } |
| 146 | |
| 147 | if ($row) { |
| 148 | $row.scrollLeft += e.deltaY; |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | function onclick(e) { |
| 153 | reset(); |
nothing calls this directly
no test coverage detected