mirror of
https://github.com/hyprwm/hyprutils.git
synced 2025-12-27 11:40:04 +01:00
parent
dd1f720cbc
commit
fbd02eb032
1 changed files with 2 additions and 2 deletions
|
|
@ -5,6 +5,8 @@
|
|||
using namespace Hyprutils::Animation;
|
||||
using namespace Hyprutils::Memory;
|
||||
|
||||
static const std::string DEFAULTBEZIERNAME = "default";
|
||||
|
||||
#define SP CSharedPointer
|
||||
#define WP CWeakPointer
|
||||
|
||||
|
|
@ -43,8 +45,6 @@ bool Hyprutils::Animation::CBaseAnimatedVariable::enabled() const {
|
|||
}
|
||||
|
||||
const std::string& CBaseAnimatedVariable::getBezierName() const {
|
||||
static constexpr const std::string DEFAULTBEZIERNAME = "default";
|
||||
|
||||
if (const auto PCONFIG = m_pConfig.lock()) {
|
||||
const auto PVALUES = PCONFIG->pValues.lock();
|
||||
return PVALUES ? PVALUES->internalBezier : DEFAULTBEZIERNAME;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue