Skip to content

Commit

Permalink
Merge pull request #824 from solverat/label_fix
Browse files Browse the repository at this point in the history
Fix State Labels
  • Loading branch information
dpfaffenbauer authored Feb 20, 2019
2 parents 31542db + a7e140c commit e655198
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function getLabeledValue($element)
$state = $this->workflowManager->getStateInfo($workflow, $result->value, false);

$rgb = $this->hex2rgb($state['color']);
$opacity = $workflow === 'coreshop_order' ? 1 : 0.3;
$opacity = $workflow === 'coreshop_order' ? '1' : '0.3';

if ($this->highlightLabel === true) {
$textColor = $workflow === 'coreshop_order' ? $this->getContrastColor($rgb[0], $rgb[1], $rgb[2]) : 'black';
Expand Down

0 comments on commit e655198

Please sign in to comment.