1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fixed some tooltips, added Link Dependencies, more int-ness

This commit is contained in:
Brian Fiete 2019-12-21 05:48:44 -08:00
parent 939c818581
commit d0e8332150
30 changed files with 180 additions and 432 deletions

View file

@ -1409,8 +1409,7 @@ namespace Beefy.utils
{
bool forceAllInline = namedValues is InlineNamedValues;
//bool needsHeader = false;
if ((!outStr.IsEmpty) || (nameStack.Count > 0))
/*if ((!outStr.IsEmpty) || (nameStack.Count > 0))
{
int valueIdx = namedValues.mValueIdx;
@ -1432,7 +1431,9 @@ namespace Beefy.utils
if (needsHeader)
EncodeHeader();
}
}*/
bool needsHeader = ((!outStr.IsEmpty) || (nameStack.Count > 0));
for (int pass = 0; pass < 2; pass++)
{
@ -1484,6 +1485,12 @@ namespace Beefy.utils
if (doValuesInline && isInlinePass)
{
if (needsHeader)
{
EncodeHeader();
needsHeader = false;
}
EncodeName(key);
outStr.Append(" = ");
EncodeObject(value);