Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Aug 12, 2020
1 parent 3295700 commit 8263da3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/plugins/miscellaneous/Core/src/coreguiutils.cpp
Expand Up @@ -911,17 +911,17 @@ QColor lockedColor(const QColor &pColor)
int blue = pColor.blue();

enum {
lockedRed = 255,
lockedGreen = 0,
lockedBlue = 0
LockedRed = 255,
LockedGreen = 0,
LockedBlue = 0
};

static const double Alpha = 0.05;
static const double OneMinusAlpha = 1.0-Alpha;

return { int(Alpha*lockedRed+OneMinusAlpha*red),
int(Alpha*lockedGreen+OneMinusAlpha*green),
int(Alpha*lockedBlue+OneMinusAlpha*blue) };
return { int(Alpha*LockedRed+OneMinusAlpha*red),
int(Alpha*LockedGreen+OneMinusAlpha*green),
int(Alpha*LockedBlue+OneMinusAlpha*blue) };
}

//==============================================================================
Expand Down

0 comments on commit 8263da3

Please sign in to comment.