()
| 7 | |
| 8 | buildFontSizeControl(controlIndex) { |
| 9 | const action = () => { |
| 10 | const fontSize = |
| 11 | this.main.getElemByIdSafe(this.main.activeTool.controls[controlIndex].id).value; |
| 12 | this.main.textTool.setFontSize(fontSize); |
| 13 | setParam('defaultFontSize', fontSize); |
| 14 | }; |
| 15 | const getValue = () => this.main.textTool.fontSize; |
| 16 | |
| 17 | if (this.main.params.availableFontSizes) { |
nothing calls this directly
no test coverage detected