allocationText fix

This commit is contained in:
tim
2025-02-23 10:25:14 -04:00
parent 0fdc45a031
commit 2e49346533

View File

@@ -122,7 +122,7 @@ class TrancheShapes {
// console.log('hline', price)
const model = {
price, breakout, color, extraText, textLocation,
allocation, maxAllocation, amount, amountSymbol,
allocation, maxAllocation, amount, amountSymbol, buy,
}
const s = new HLine(model, null, null, null, true)
this.shapes.push(s)
@@ -146,7 +146,7 @@ class TrancheShapes {
extendLeft: t.startTime === DISTANT_PAST,
extendRight: t.endTime === DISTANT_FUTURE,
breakout, color, extraText, textLocation,
allocation, maxAllocation, amount, amountSymbol,
allocation, maxAllocation, amount, amountSymbol, buy,
}
const s = new DLine(model, null, null, null, true)
this.shapes.push(s)