aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Controls
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-07-25 16:48:04 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-07-25 16:48:04 +0300
commit9899e01051ae7be0cdd0c57dfd414f76926a4f18 (patch)
tree6f5bc60a3730b89393b9189b6c97297962f4e2b5 /Software/Visual_Studio/PPC/Tango.PPC.Common/Controls
parenta79b09acc0b92e1cd2970418dba1d3f93fa3d8dd (diff)
downloadTango-9899e01051ae7be0cdd0c57dfd414f76926a4f18.tar.gz
Tango-9899e01051ae7be0cdd0c57dfd414f76926a4f18.zip
Order Index PPC catalogs rendering.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Controls')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Controls/TwineCatalogRenderer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Controls/TwineCatalogRenderer.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Controls/TwineCatalogRenderer.cs
index eafef2847..a3b65d17a 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Controls/TwineCatalogRenderer.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Controls/TwineCatalogRenderer.cs
@@ -232,7 +232,7 @@ namespace Tango.PPC.Common.Controls
if (Groups != null)
{
- foreach (var group in Groups)
+ foreach (var group in Groups.OrderBy(x => x.GroupIndex))
{
position_x = 0;
@@ -240,7 +240,7 @@ namespace Tango.PPC.Common.Controls
position_y += ellipseMargin;
- foreach (var item in group.ColorCatalogsItems)
+ foreach (var item in group.ColorCatalogsItems.OrderBy(x => x.ItemIndex))
{
double x = position_x + ellipseMargin;