refactor: temperature inputs

This commit is contained in:
Azgaar 2023-08-06 13:25:46 +04:00
parent fac73b9975
commit fbb605d01d
2 changed files with 14 additions and 8 deletions

View file

@ -2363,16 +2363,17 @@
</label> </label>
</div> </div>
<div> <div>
<label data-tip="Set temperature near poles"> <label data-tip="Set the North Pole average yearly temperature">
<i data-locked="0" id="lock_temperatureNorthPole" class="icon-lock-open"></i> <i data-locked="0" id="lock_temperatureNorthPole" class="icon-lock-open"></i>
<i>North Pole</i> <i>North Pole:</i>
<input <input
id="temperatureNorthPoleInput" id="temperatureNorthPoleInput"
data-stored="temperatureNorthPole" data-stored="temperatureNorthPole"
type="number" type="number"
min="-50" min="-50"
max="50" max="50"
/>°C = <span id="temperatureNorthPoleF"></span>°F />
<span>°C = <span id="temperatureNorthPoleF"></span>°F</span>
<input <input
id="temperatureNorthPoleOutput" id="temperatureNorthPoleOutput"
data-stored="temperatureNorthPole" data-stored="temperatureNorthPole"
@ -2380,16 +2381,21 @@
min="-50" min="-50"
max="50" max="50"
/> />
<br /> </label>
</div>
<div>
<label data-tip="Set the South Pole average yearly temperature">
<i data-locked="0" id="lock_temperatureSouthPole" class="icon-lock-open"></i> <i data-locked="0" id="lock_temperatureSouthPole" class="icon-lock-open"></i>
<i>South Pole</i> <i>South Pole:</i>
<input <input
id="temperatureSouthPoleInput" id="temperatureSouthPoleInput"
data-stored="temperatureSouthPole" data-stored="temperatureSouthPole"
type="number" type="number"
min="-50" min="-50"
max="50" max="50"
/>°C = <span id="temperatureSouthPoleF"></span>°F />
<span>°C = <span id="temperatureSouthPoleF"></span>°F</span>
<input <input
id="temperatureSouthPoleOutput" id="temperatureSouthPoleOutput"
data-stored="temperatureSouthPole" data-stored="temperatureSouthPole"

View file

@ -28,7 +28,8 @@ const version = "1.90.00"; // generator version, update each time
<ul> <ul>
<strong>Latest changes:</strong> <strong>Latest changes:</strong>
<li>New 3D scene options</li> <li>North and South Poles temperature can be set independently</li>
<li>New 3D scene options and improvements</li>
<li>Autosave feature (in Options)</li> <li>Autosave feature (in Options)</li>
<li>Google translation support (in Options)</li> <li>Google translation support (in Options)</li>
<li>Religions can be edited and redrawn like cultures</li> <li>Religions can be edited and redrawn like cultures</li>
@ -36,7 +37,6 @@ const version = "1.90.00"; // generator version, update each time
<li>Heightmap brushes: linear edit option</li> <li>Heightmap brushes: linear edit option</li>
<li>Data Charts screen</li> <li>Data Charts screen</li>
<li>Сultures and religions can have multiple parents in hierarchy tree</li> <li>Сultures and religions can have multiple parents in hierarchy tree</li>
<li>Heightmap selection screen</li>
</ul> </ul>
<p>Join our <a href="${discord}" target="_blank">Discord server</a> and <a href="${reddit}" target="_blank">Reddit community</a> to ask questions, share maps, discuss the Generator and Worlbuilding, report bugs and propose new features.</p> <p>Join our <a href="${discord}" target="_blank">Discord server</a> and <a href="${reddit}" target="_blank">Reddit community</a> to ask questions, share maps, discuss the Generator and Worlbuilding, report bugs and propose new features.</p>