diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-07-25 16:48:04 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-07-25 16:48:04 +0300 |
| commit | 9899e01051ae7be0cdd0c57dfd414f76926a4f18 (patch) | |
| tree | 6f5bc60a3730b89393b9189b6c97297962f4e2b5 /Software/Visual_Studio/PPC/Tango.PPC.Common | |
| parent | a79b09acc0b92e1cd2970418dba1d3f93fa3d8dd (diff) | |
| download | Tango-9899e01051ae7be0cdd0c57dfd414f76926a4f18.tar.gz Tango-9899e01051ae7be0cdd0c57dfd414f76926a4f18.zip | |
Order Index PPC catalogs rendering.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Controls/TwineCatalogRenderer.cs | 4 |
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; |
