diff --git a/borders-plus-plus/borderDeco.hpp b/borders-plus-plus/borderDeco.hpp index 7a61333..44f2f7e 100644 --- a/borders-plus-plus/borderDeco.hpp +++ b/borders-plus-plus/borderDeco.hpp @@ -13,7 +13,7 @@ class CBordersPlusPlus : public IHyprWindowDecoration { virtual void onPositioningReply(const SDecorationPositioningReply& reply); - virtual void draw(PHLMONITOR, float a); + virtual void draw(PHLMONITOR, float const& a); virtual eDecorationType getDecorationType(); diff --git a/hyprbars/barDeco.hpp b/hyprbars/barDeco.hpp index 8f34c32..de70512 100644 --- a/hyprbars/barDeco.hpp +++ b/hyprbars/barDeco.hpp @@ -16,7 +16,7 @@ class CHyprBar : public IHyprWindowDecoration { virtual void onPositioningReply(const SDecorationPositioningReply& reply); - virtual void draw(PHLMONITOR, float a); + virtual void draw(PHLMONITOR, float const& a); virtual eDecorationType getDecorationType(); diff --git a/hyprtrails/trail.hpp b/hyprtrails/trail.hpp index df8e63a..bd4fcb1 100644 --- a/hyprtrails/trail.hpp +++ b/hyprtrails/trail.hpp @@ -37,7 +37,7 @@ class CTrail : public IHyprWindowDecoration { virtual void onPositioningReply(const SDecorationPositioningReply& reply); - virtual void draw(PHLMONITOR, float a); + virtual void draw(PHLMONITOR, float const& a); virtual eDecorationType getDecorationType();