File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
DsmSuite.DsmViewer.ViewModel/Matrix
DsmSuite.DsmViewer.View/Resources/Themes Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 28
28
<SolidColorBrush x : Key =" MatrixColorMatch" po : Freeze =" True" >#ff0000</SolidColorBrush >
29
29
<SolidColorBrush x : Key =" MatrixColorBookmark" po : Freeze =" True" >#00ff00</SolidColorBrush >
30
30
31
- <SolidColorBrush x : Key =" CellWeightColor" po : Freeze =" True" >#000000 </SolidColorBrush >
31
+ <SolidColorBrush x : Key =" CellWeightColor" po : Freeze =" True" >#606060 </SolidColorBrush >
32
32
33
33
<sys : Double x : Key =" HighlightFactorHovered" >1.1</sys : Double >
34
34
<sys : Double x : Key =" HighlightFactorSelected" >1.2</sys : Double >
Original file line number Diff line number Diff line change @@ -599,6 +599,8 @@ private void DefineCellContent()
599
599
int i = buckets . Count - 1 ;
600
600
while ( _cellWeights [ row ] [ column ] < buckets [ i ] )
601
601
i -- ;
602
+ if ( i == 0 ) // Bucket 0 is for weight 0 exclusively
603
+ i = 1 ;
602
604
_weightPercentiles [ row ] . Add ( i / ( double ) _nrWeightBuckets ) ;
603
605
}
604
606
}
You can’t perform that action at this time.
0 commit comments