mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
feat: style scale bar - style presets
This commit is contained in:
parent
b9f3ff6da6
commit
3d7d6ba4f8
14 changed files with 50 additions and 47 deletions
|
|
@ -1719,7 +1719,7 @@ function drawScaleBar(scaleBar, scaleLevel) {
|
|||
|
||||
const distanceScale = +distanceScaleInput.value;
|
||||
const unit = distanceUnitInput.value;
|
||||
const size = +scaleBar.attr("data-size");
|
||||
const size = +scaleBar.attr("data-bar-size");
|
||||
|
||||
const length = (function () {
|
||||
const init = 100;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue