aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Converters
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-12-17 11:13:44 +0200
committerShlomo Hecht <shlomo@twine-s.com>2018-12-17 11:13:44 +0200
commit3b2d3e0e07b6115b143fb8d4a48cb94bb1e17f95 (patch)
tree3d968d7a66bea111e36c716f6c153bf5620ffdef /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Converters
parent2c37dcf7dc299a8ff66a5c46b4b2424d37005e11 (diff)
parent9562ca15079cdbf2bcfd11c8c8def4a8e4573a78 (diff)
downloadTango-3b2d3e0e07b6115b143fb8d4a48cb94bb1e17f95.tar.gz
Tango-3b2d3e0e07b6115b143fb8d4a48cb94bb1e17f95.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Converters')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Converters/JobToColumnDefinitionsConverter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Converters/JobToColumnDefinitionsConverter.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Converters/JobToColumnDefinitionsConverter.cs
index 0aadeca68..2ce5886c6 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Converters/JobToColumnDefinitionsConverter.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Converters/JobToColumnDefinitionsConverter.cs
@@ -21,7 +21,7 @@ namespace Tango.MachineStudio.Developer.Converters
double totalLength = job.Segments.Sum(x => x.Length);
- foreach (var segment in job.Segments)
+ foreach (var segment in job.OrderedSegments)
{
columns.Add(new ColumnDefinition() { Width = new GridLength(segment.Length / totalLength, GridUnitType.Star) });
}