(data)
| 89 | } |
| 90 | |
| 91 | get_element_size(data) { |
| 92 | const size_scale = this.scales.size; |
| 93 | const unit = this.model.get('font_unit'); |
| 94 | if (size_scale && data.size !== undefined) { |
| 95 | return size_scale.scale(data.size) + unit; |
| 96 | } |
| 97 | return this.model.get('default_size') + unit; |
| 98 | } |
| 99 | |
| 100 | get_element_rotation(data) { |
| 101 | const rotation_scale = this.scales.rotation; |
no outgoing calls
no test coverage detected