(point: BendPoint)
| 848 | } |
| 849 | |
| 850 | public addBendPoint(point: BendPoint): void { |
| 851 | let points = this.bendPoints; |
| 852 | if (points === null) { |
| 853 | points = []; |
| 854 | this.bendPoints = points; |
| 855 | } |
| 856 | points.push(point); |
| 857 | if (!this.maxBendPoint || point.value > this.maxBendPoint.value) { |
| 858 | this.maxBendPoint = point; |
| 859 | } |
| 860 | if (this.bendType === BendType.None) { |
| 861 | this.bendType = BendType.Custom; |
| 862 | } |
| 863 | } |
| 864 | |
| 865 | public finish(settings: Settings, sharedDataBag: Map<string, unknown> | null = null): void { |
| 866 | const nextNoteOnLine: Lazy<Note | null> = new Lazy<Note | null>(() => Note.nextNoteOnSameLine(this)); |
no test coverage detected