feat(#901): ability to lock seed in templates editor

This commit is contained in:
Azgaar 2022-12-10 19:55:23 +03:00
parent 425325888e
commit f20029eac5
5 changed files with 14 additions and 12 deletions

View file

@ -108,7 +108,7 @@
}
</style>
<link rel="preload" href="index.css?v=1.88.00" as="style" onload="this.onload=null; this.rel='stylesheet'" />
<link rel="preload" href="index.css?v=1.88.03" as="style" onload="this.onload=null; this.rel='stylesheet'" />
<link rel="preload" href="icons.css" as="style" onload="this.onload=null; this.rel='stylesheet'" />
<link rel="preload" href="libs/jquery-ui.css" as="style" onload="this.onload=null; this.rel='stylesheet'" />
</head>
@ -4055,9 +4055,10 @@
onclick="wiki('Heightmap-template-editor')"
></button>
<label
data-tip="Set seed if you want template to generate the same heightmap each time. Leave blank to use random seed"
data-tip="Lock seed (click on lock icon) if you want template to generate the same heightmap each time"
>
Seed: <input id="templateSeed" value="" type="number" min="1" max="999999999" step="1" style="width: 7em" />
Seed: <input id="templateSeed" value="" type="number" min="1" max="999999999" step="1" style="width: 8em" />
<i data-locked="0" id="lock_templateSeed" class="icon-lock-open"></i>
</label>
</div>
</div>
@ -7857,7 +7858,7 @@
<script src="modules/ui/measurers.js?v=1.87.02"></script>
<script src="modules/ui/stylePresets.js"></script>
<script src="modules/ui/general.js?v=1.87.00"></script>
<script src="modules/ui/general.js?v=1.87.03"></script>
<script src="modules/ui/options.js?v=1.88.02"></script>
<script src="main.js?v=1.88.02"></script>
@ -7866,7 +7867,7 @@
<script defer src="modules/ui/editors.js?v=1.87.07"></script>
<script defer src="modules/ui/tools.js?v=1.87.03"></script>
<script defer src="modules/ui/world-configurator.js"></script>
<script defer src="modules/ui/heightmap-editor.js?v=1.88.00"></script>
<script defer src="modules/ui/heightmap-editor.js?v=1.88.03"></script>
<script defer src="modules/ui/provinces-editor.js"></script>
<script defer src="modules/ui/biomes-editor.js"></script>
<script defer src="modules/ui/namesbase-editor.js?v=1.87.10"></script>