Кнопка «Соединить» на панели, видимая линия соединения

This commit is contained in:
DverkuOff 2026-11-25 10:27:54 +03:00
commit aecda25813

View file

@ -267,8 +267,8 @@ void TFigureManager::Load(String fileName)
if (words->Count != 8 && words->Count != 9 && words->Count != 11)
throw Exception(pos + L"должно быть 8 значений (11 - если есть группа), а их " + IntToStr(words->Count));
int group = 0;
TColor lineCol = (TColor)RGB(205, 215, 230);
int lineW = 1;
TColor lineCol = (TColor)RGB(30, 30, 30);
int lineW = 2;
if (words->Count >= 9)
{
if (!TryStrToInt(words->Strings[8], group) || group < 0)