mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
fix: notes editor shows up halfway off the screen
This commit is contained in:
parent
dd56c7e433
commit
16e0aef2fb
5 changed files with 4 additions and 13 deletions
|
|
@ -1,9 +0,0 @@
|
||||||
Azgaar's Fantasy Map Generator
|
|
||||||
|
|
||||||
Developed by Azgaar (azgaar.fmg@yandex.com) and contributors
|
|
||||||
|
|
||||||
Minsk, 2017-2021. MIT License
|
|
||||||
|
|
||||||
https://github.com/Azgaar/Fantasy-Map-Generator
|
|
||||||
|
|
||||||
To run the tool unzip ALL files and open index.html in browser
|
|
||||||
|
|
@ -2045,6 +2045,7 @@ div.textual span,
|
||||||
}
|
}
|
||||||
|
|
||||||
#notesLegend {
|
#notesLegend {
|
||||||
|
width: auto;
|
||||||
height: 87%;
|
height: 87%;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
|
||||||
|
|
@ -7886,7 +7886,7 @@
|
||||||
<script defer src="modules/ui/relief-editor.js"></script>
|
<script defer src="modules/ui/relief-editor.js"></script>
|
||||||
<script defer src="modules/ui/burg-editor.js"></script>
|
<script defer src="modules/ui/burg-editor.js"></script>
|
||||||
<script defer src="modules/ui/units-editor.js"></script>
|
<script defer src="modules/ui/units-editor.js"></script>
|
||||||
<script defer src="modules/ui/notes-editor.js"></script>
|
<script defer src="modules/ui/notes-editor.js?v=1.89.03"></script>
|
||||||
<script defer src="modules/ui/diplomacy-editor.js?v=1.88.04"></script>
|
<script defer src="modules/ui/diplomacy-editor.js?v=1.88.04"></script>
|
||||||
<script defer src="modules/ui/zones-editor.js"></script>
|
<script defer src="modules/ui/zones-editor.js"></script>
|
||||||
<script defer src="modules/ui/burgs-overview.js"></script>
|
<script defer src="modules/ui/burgs-overview.js"></script>
|
||||||
|
|
|
||||||
|
|
@ -42,12 +42,11 @@ function editNotes(id, name) {
|
||||||
|
|
||||||
$("#notesEditor").dialog({
|
$("#notesEditor").dialog({
|
||||||
title: "Notes Editor",
|
title: "Notes Editor",
|
||||||
width: "minmax(80vw, 540px)",
|
width: window.innerWidth * 0.8,
|
||||||
height: window.innerHeight * 0.75,
|
height: window.innerHeight * 0.75,
|
||||||
position: {my: "center", at: "center", of: "svg"},
|
position: {my: "center", at: "center", of: "svg"},
|
||||||
close: removeEditor
|
close: removeEditor
|
||||||
});
|
});
|
||||||
$("[aria-describedby='notesEditor']").css("top", "10vh");
|
|
||||||
|
|
||||||
if (modules.editNotes) return;
|
if (modules.editNotes) return;
|
||||||
modules.editNotes = true;
|
modules.editNotes = true;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// version and caching control
|
// version and caching control
|
||||||
const version = "1.89.02"; // generator version, update each time
|
const version = "1.89.03"; // generator version, update each time
|
||||||
|
|
||||||
{
|
{
|
||||||
document.title += " v" + version;
|
document.title += " v" + version;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue