(view: Mark)
| 785 | } |
| 786 | |
| 787 | mark_padding_updated(view: Mark) { |
| 788 | const model = view.model; |
| 789 | const scale_models = model.getScales(); |
| 790 | |
| 791 | this.update_padding_dict( |
| 792 | this.x_pad_dict, |
| 793 | view, |
| 794 | scale_models[model.get_key_for_orientation('horizontal')], |
| 795 | view.xPadding |
| 796 | ); |
| 797 | this.update_padding_dict( |
| 798 | this.y_pad_dict, |
| 799 | view, |
| 800 | scale_models[model.get_key_for_orientation('vertical')], |
| 801 | view.yPadding |
| 802 | ); |
| 803 | |
| 804 | this.update_paddings(); |
| 805 | } |
| 806 | |
| 807 | update_marks(mark_views) { |
| 808 | this.update_paddings(); |
no test coverage detected