- Iniziato ad aggiungere inglesine come split
- Corretto warnings
This commit is contained in:
@@ -256,7 +256,10 @@ namespace WebWindowComplex
|
||||
if (FillList[i].Equals(node))
|
||||
{
|
||||
nFill = FillList.Count == 1 ? "" : $"{i + 1}";
|
||||
ItemTableList.Add(new ItemTable(AreaTypes.FILL, "FL" + nFill, maxRow, col, i, 0));
|
||||
if(node.AreaList.Count == 0)
|
||||
ItemTableList.Add(new ItemTable(AreaTypes.FILL, "FL" + nFill, maxRow, col, i, 0));
|
||||
else
|
||||
ItemTableList.Add(new ItemTable(AreaTypes.FILL, "FL" + nFill, maxRow, col, i, node.AreaList.Count));
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -1133,7 +1136,7 @@ namespace WebWindowComplex
|
||||
RowCollapsed[item.Key] = Args[item.Key] ? true : false;
|
||||
if (m_ItemTableList.FirstOrDefault(x => x.Row == item.Key) != null)
|
||||
{
|
||||
Child[item.Key] = m_ItemTableList.FirstOrDefault(x => x.Row == item.Key).NumChild;
|
||||
Child[item.Key] = m_ItemTableList.FirstOrDefault(x => x.Row == item.Key)!.NumChild;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1374,10 +1377,13 @@ namespace WebWindowComplex
|
||||
if (newFill != null)
|
||||
{
|
||||
// cerco il record
|
||||
var currRec = (Fill)SearchAreaFromGroupId(FrameWindow, newFill.GroupId);
|
||||
var currRec = (Fill?)SearchAreaFromGroupId(FrameWindow, newFill.GroupId);
|
||||
// lo aggiorno
|
||||
currRec = newFill;
|
||||
await DoPreviewSvg();
|
||||
if(currRec != null)
|
||||
{
|
||||
currRec = newFill;
|
||||
await DoPreviewSvg();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1622,7 +1628,7 @@ namespace WebWindowComplex
|
||||
bool noSvg = args.noSvg;
|
||||
if (svgNoHw)
|
||||
{
|
||||
Sash item = (Sash)SearchAreaFromGroupId(FrameWindow, newSash.GroupId);
|
||||
Sash? item = (Sash?)SearchAreaFromGroupId(FrameWindow, newSash.GroupId);
|
||||
if (newSash != null && item != null)
|
||||
{
|
||||
item = newSash;
|
||||
@@ -1631,7 +1637,7 @@ namespace WebWindowComplex
|
||||
}
|
||||
else
|
||||
{
|
||||
Sash item = (Sash)SearchAreaFromGroupId(FrameWindow, newSash.GroupId);
|
||||
Sash? item = (Sash?)SearchAreaFromGroupId(FrameWindow, newSash.GroupId);
|
||||
if (newSash != null && item != null)
|
||||
{
|
||||
item = newSash;
|
||||
|
||||
Reference in New Issue
Block a user