Fix text box vertex style

This commit is contained in:
Oleg Sh 2022-07-24 18:59:04 +02:00
parent c51570f988
commit abc9165de2
11 changed files with 11 additions and 2 deletions

View File

@ -245,6 +245,7 @@ We have added Dutch translation 🇳🇱. Thank you Willie de Wit</a>";
$g_lang['squere'] = "Квадрат";
$g_lang['triangle'] = "Триъгълник";
$g_lang['pentagon'] = "Петоъгълник";
$g_lang['textbox'] = "Textbox";
$g_lang['vertex_diameter'] = "Големина на връх";
$g_lang['additional_text_color'] = "Друг цвят на текста";

View File

@ -245,6 +245,7 @@
$g_lang['squere'] = "方形";
$g_lang['triangle'] = "三角形";
$g_lang['pentagon'] = "五边形";
$g_lang['textbox'] = "Textbox";
$g_lang['vertex_diameter'] = "顶点大小";
$g_lang['additional_text_color'] = "其他文本颜色";

View File

@ -208,6 +208,7 @@
$g_lang['squere'] = "Square";
$g_lang['triangle'] = "Triangle";
$g_lang['pentagon'] = "Pentagon";
$g_lang['textbox'] = "Textbox";
$g_lang['vertex_diameter'] = "Vertex size";
$g_lang['additional_text_color'] = "Another text color";

View File

@ -246,6 +246,7 @@
$g_lang['squere'] = "Square";
$g_lang['triangle'] = "Triangle";
$g_lang['pentagon'] = "Pentagon";
$g_lang['textbox'] = "Textbox";
$g_lang['vertex_diameter'] = "Vertex size";
$g_lang['additional_text_color'] = "Another text color";

View File

@ -245,6 +245,7 @@ Tenemos traducciones en griego 🇬🇷.</a> <a href=\"https://github.com/UnickS
$g_lang['squere'] = "Square";
$g_lang['triangle'] = "Triangle";
$g_lang['pentagon'] = "Pentagon";
$g_lang['textbox'] = "Textbox";
$g_lang['vertex_diameter'] = "Vertex size";
$g_lang['additional_text_color'] = "Another text color";

View File

@ -213,6 +213,7 @@
$g_lang['squere'] = "Square";
$g_lang['triangle'] = "Triangle";
$g_lang['pentagon'] = "Pentagon";
$g_lang['textbox'] = "Textbox";
$g_lang['vertex_diameter'] = "Vertex size";
$g_lang['additional_text_color'] = "Another text color";

View File

@ -210,6 +210,7 @@
$g_lang['squere'] = "Square";
$g_lang['triangle'] = "Triangle";
$g_lang['pentagon'] = "Pentagon";
$g_lang['textbox'] = "Textbox";
$g_lang['vertex_diameter'] = "Vertex size";
$g_lang['additional_text_color'] = "Another text color";

View File

@ -211,6 +211,7 @@
$g_lang['squere'] = "Square";
$g_lang['triangle'] = "Triangle";
$g_lang['pentagon'] = "Pentagon";
$g_lang['textbox'] = "Textbox";
$g_lang['vertex_diameter'] = "Vertex size";
$g_lang['additional_text_color'] = "Another text color";

View File

@ -207,6 +207,7 @@
$g_lang['squere'] = "Square";
$g_lang['triangle'] = "Triangle";
$g_lang['pentagon'] = "Pentagon";
$g_lang['textbox'] = "Textbox";
$g_lang['vertex_diameter'] = "Vertex size";
$g_lang['additional_text_color'] = "Another text color";

View File

@ -230,7 +230,7 @@ BaseEdge.prototype.GetEdgePositions = function()
{
var lineFinish1 = data.direction.multiply(-1).multiply(1000.0);
var pointsVertex1 = GetPointsForShape(shape, data.diameter);
var pointsVertex1 = GetPointsForShape(shape, data.diameter, data.vertex.mainText);
pointsVertex1.push(pointsVertex1[0]);
for (var i = 0; i < pointsVertex1.length - 1; i ++)

View File

@ -531,7 +531,7 @@
<option value="1"><?= L('squere')?></option>
<option value="2"><?= L('triangle')?></option>
<option value="3"><?= L('pentagon')?></option>
<!-- <option value="4"><//?= L('textbox')?></option> -->
<option value="5"><?= L('textbox')?></option>
</select>
</div>
</div>