bugfixes
This commit is contained in:
@@ -207,7 +207,7 @@ export class Shape {
|
||||
// return an object with property defaults, e.g. { "linetoolhorzline.linecolor": "#7f11e0" }
|
||||
// https://www.tradingview.com/charting-library-docs/latest/api/modules/Charting_Library#drawingoverrides
|
||||
drawingOverrides() {
|
||||
return this.colorProps()
|
||||
return mixin(this.colorProps(), this.creationOptions)
|
||||
}
|
||||
|
||||
create() {
|
||||
@@ -547,8 +547,8 @@ export class DLine extends Line {
|
||||
// Model
|
||||
this.model.pointA = null // {time:..., price:...}
|
||||
this.model.pointB = null
|
||||
this.model.extendLeft = false
|
||||
this.model.extendRight = false
|
||||
this.model.extendLeft = true
|
||||
this.model.extendRight = true
|
||||
|
||||
this.setModel(model) // call setModel at the end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user