()
| 449 | } |
| 450 | |
| 451 | bottomKeepRatio() { |
| 452 | const newH = this.area.rect.clientWidth / this.placedRatio; |
| 453 | const absBottom = this.fixCropperBottom( |
| 454 | this.main.elTop() + |
| 455 | this.top + newH + 2); |
| 456 | this.setBottom((this.area.el.clientHeight + this.main.elTop()) - absBottom); |
| 457 | } |
| 458 | |
| 459 | rightKeepRatio() { |
| 460 | const newW = this.area.rect.clientHeight * this.placedRatio; |
no test coverage detected