mirror of
https://github.com/leozide/leocad
synced 2025-01-18 22:26:44 +01:00
Fixed LightDarkControl.
This commit is contained in:
parent
b99724c7b0
commit
ff13fd90db
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ static void lcAdjustStudStyleColors(std::vector<lcColor>& Colors, lcStudStyle St
|
|||
const lcVector4 BlackEdge = lcVector4FromColor(Preferences.mBlackEdgeColor);
|
||||
|
||||
const float ContrastControl = Preferences.mPartEdgeContrast;
|
||||
const float LightDarkControl = Preferences.mPartColorValueLDIndex;
|
||||
const float LightDarkControl = Preferences.mAutomateEdgeColor ? Preferences.mPartColorValueLDIndex : LC_SRGB_TO_LINEAR(Preferences.mPartColorValueLDIndex);
|
||||
|
||||
for (lcColor& Color : Colors)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue