diff options
Diffstat (limited to 'src/desktop/Window.hpp')
| -rw-r--r-- | src/desktop/Window.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp index cc62dd3b..449c9c60 100644 --- a/src/desktop/Window.hpp +++ b/src/desktop/Window.hpp @@ -68,13 +68,13 @@ class IWindowTransformer; struct SAlphaValue { float alpha; - bool override; + bool overridden; - float applyAlpha(float alpha) const { - if (override) + float applyAlpha(float a) const { + if (overridden) return alpha; else - return alpha * alpha; + return alpha * a; }; }; |
