From 77ecf0950685c7872b3aa8c2e63ef4147b0bb685 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Fri, 2 May 2025 16:29:04 +0100 Subject: internal: fix name confusion in SAlphaValue fixes #10251 --- src/desktop/Window.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/desktop') 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; }; }; -- cgit v1.2.3