feat(plugin-scalebox): Added utility classes for better styling support
This commit is contained in:
parent
4d441f4eec
commit
6b70e0e6e9
3 changed files with 8 additions and 4 deletions
|
@ -55,14 +55,14 @@ export default function (so) {
|
|||
}
|
||||
// Paths
|
||||
this.paths.__miniscaleImperial = new this.Path()
|
||||
.attr('class', 'scalebox imperial')
|
||||
.attr('class', 'scalebox imperial fill-current')
|
||||
.move(this.points.__miniscaleImperialTopLeft)
|
||||
.line(this.points.__miniscaleImperialBottomLeft)
|
||||
.line(this.points.__miniscaleImperialBottomRight)
|
||||
.line(this.points.__miniscaleImperialTopRight)
|
||||
.close()
|
||||
this.paths.__miniscaleMetric = new this.Path()
|
||||
.attr('class', 'scalebox metric')
|
||||
.attr('class', 'scalebox metric fill-bg')
|
||||
.move(this.points.__miniscaleMetricTopLeft)
|
||||
.line(this.points.__miniscaleMetricBottomLeft)
|
||||
.line(this.points.__miniscaleMetricBottomRight)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue