Automap (OSS) GIT software repository
Revisión | 53f417086b13e14df839252930c75983bcbc4896 (tree) |
---|---|
Tiempo | 2020-06-04 08:43:15 |
Autor | ![]() |
Commiter | melchior |
PRE-Release: PR7x [Broken main map], Preview w/bugs...
@@ -100,7 +100,7 @@ namespace Automap | ||
100 | 100 | Name = "Sign", |
101 | 101 | PrettyLocation = posn.PrettyCoords(clientAPI), |
102 | 102 | Location = posn.Copy(), |
103 | - Notes = signEntity.text, | |
103 | + Notes = signEntity.text.Replace("\n"," "), | |
104 | 104 | Timestamp = DateTime.UtcNow, |
105 | 105 | } |
106 | 106 | ); |
@@ -127,7 +127,7 @@ namespace Automap | ||
127 | 127 | Name = "Signpost", |
128 | 128 | PrettyLocation = posn.PrettyCoords(clientAPI), |
129 | 129 | Location = posn.Copy(), |
130 | - Notes = string.Join(",", signEntity.textByCardinalDirection), | |
130 | + Notes = string.Join(",", signEntity.textByCardinalDirection).Replace("\n", " "), | |
131 | 131 | Timestamp = DateTime.UtcNow, |
132 | 132 | } |
133 | 133 | ); |
@@ -77,7 +77,7 @@ namespace Automap | ||
77 | 77 | |
78 | 78 | ElementBounds btnSnapshotArea = btnNoteArea.CopyOffsetedSibling(0, 64, 2, 5); |
79 | 79 | btnNoteArea.fixedHeight = 24; |
80 | - btnNoteArea.fixedWidth = 20; | |
80 | + btnNoteArea.fixedWidth = 28; | |
81 | 81 | |
82 | 82 | |
83 | 83 | this.SingleComposer = capi.Gui.CreateCompo("automapControlPanel", dialogBounds) |
@@ -144,7 +144,7 @@ namespace Automap | ||
144 | 144 | var txtNote = this.SingleComposer.GetTextInput(_noteTextKey); |
145 | 145 | if (!String.IsNullOrWhiteSpace(txtNote.GetText())) |
146 | 146 | { |
147 | - noteCmd.Notation = txtNote.GetText(); | |
147 | + noteCmd.Notation = txtNote.GetText().Replace("\n", " "); | |
148 | 148 | txtNote.SetValue(string.Empty); |
149 | 149 | |
150 | 150 | capi.Event.PushEvent(AutomapSystem.AutomapCommandEventKey, noteCmd); |
@@ -4,7 +4,7 @@ | ||
4 | 4 | "description" : "Automap; Generates a static HTML map dynamically, with Points of Interest!", |
5 | 5 | "authors": ["Melchior","VeryGoodDog"], |
6 | 6 | "contributors":["VeryGoodDog"], |
7 | - "version": "0.1.2", | |
7 | + "version": "0.1.3", | |
8 | 8 | "side":"Client", |
9 | 9 | "dependencies": { |
10 | 10 | "game": "1.12.0" |