labels
This commit is contained in:
@@ -929,10 +929,10 @@ PlaneObject.prototype.updateIcon = function() {
|
||||
backgroundFill: bgFill,
|
||||
stroke: labelStrokeNarrow,
|
||||
textAlign: 'left',
|
||||
textBaseline: 'top',
|
||||
textBaseline: labels_top ? 'bottom' : 'top',
|
||||
font: labelFont,
|
||||
offsetX: (this.shape.w *0.5*0.74*this.scale),
|
||||
offsetY: (this.shape.w *0.5*0.74*this.scale),
|
||||
offsetY: labels_top ? (this.shape.w *-0.3*0.74*this.scale) : (this.shape.w *0.5*0.74*this.scale),
|
||||
padding: [1, 0, -1, 2],
|
||||
}),
|
||||
zIndex: this.zIndex,
|
||||
|
||||
Reference in New Issue
Block a user