• R/O
  • HTTP
  • SSH
  • HTTPS

automap: Commit

Automap (OSS) GIT software repository


Commit MetaInfo

Revision53f417086b13e14df839252930c75983bcbc4896 (tree)
Time2020-06-04 08:43:15
Authormelchior <melchior@user...>
Commitermelchior

Log Message

PRE-Release: PR7x [Broken main map], Preview w/bugs...

Change Summary

Incremental Difference

--- a/Automap/Designators/DefaultDesignators.cs
+++ b/Automap/Designators/DefaultDesignators.cs
@@ -100,7 +100,7 @@ namespace Automap
100100 Name = "Sign",
101101 PrettyLocation = posn.PrettyCoords(clientAPI),
102102 Location = posn.Copy(),
103- Notes = signEntity.text,
103+ Notes = signEntity.text.Replace("\n"," "),
104104 Timestamp = DateTime.UtcNow,
105105 }
106106 );
@@ -127,7 +127,7 @@ namespace Automap
127127 Name = "Signpost",
128128 PrettyLocation = posn.PrettyCoords(clientAPI),
129129 Location = posn.Copy(),
130- Notes = string.Join(",", signEntity.textByCardinalDirection),
130+ Notes = string.Join(",", signEntity.textByCardinalDirection).Replace("\n", " "),
131131 Timestamp = DateTime.UtcNow,
132132 }
133133 );
--- a/Automap/Subsystems/AutomapGUIDialog.cs
+++ b/Automap/Subsystems/AutomapGUIDialog.cs
@@ -77,7 +77,7 @@ namespace Automap
7777
7878 ElementBounds btnSnapshotArea = btnNoteArea.CopyOffsetedSibling(0, 64, 2, 5);
7979 btnNoteArea.fixedHeight = 24;
80- btnNoteArea.fixedWidth = 20;
80+ btnNoteArea.fixedWidth = 28;
8181
8282
8383 this.SingleComposer = capi.Gui.CreateCompo("automapControlPanel", dialogBounds)
@@ -144,7 +144,7 @@ namespace Automap
144144 var txtNote = this.SingleComposer.GetTextInput(_noteTextKey);
145145 if (!String.IsNullOrWhiteSpace(txtNote.GetText()))
146146 {
147- noteCmd.Notation = txtNote.GetText();
147+ noteCmd.Notation = txtNote.GetText().Replace("\n", " ");
148148 txtNote.SetValue(string.Empty);
149149
150150 capi.Event.PushEvent(AutomapSystem.AutomapCommandEventKey, noteCmd);
--- a/Automap/modinfo.json
+++ b/Automap/modinfo.json
@@ -4,7 +4,7 @@
44 "description" : "Automap; Generates a static HTML map dynamically, with Points of Interest!",
55 "authors": ["Melchior","VeryGoodDog"],
66 "contributors":["VeryGoodDog"],
7- "version": "0.1.2",
7+ "version": "0.1.3",
88 "side":"Client",
99 "dependencies": {
1010 "game": "1.12.0"
Show on old repository browser