()
| 103 | } |
| 104 | |
| 105 | reset() { |
| 106 | this.active = false; |
| 107 | if (this.line !== undefined && this.line !== null) { |
| 108 | this.line.attr('x1', 0).attr('x2', 0).attr('visibility', 'hidden'); |
| 109 | } |
| 110 | |
| 111 | if (this.background !== undefined && this.background !== null) { |
| 112 | this.background.on('click', _.bind(this.initial_click, this)); |
| 113 | } |
| 114 | this.model.set('selected', null); |
| 115 | |
| 116 | _.each(this.mark_views, (mark_view: any) => { |
| 117 | mark_view.invert_point(); |
| 118 | }); |
| 119 | this.touch(); |
| 120 | } |
| 121 | |
| 122 | update_scale_domain(ignore_gui_update) { |
| 123 | // Call the base class function to update the scale. |
no test coverage detected