mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 15:45:57 +01:00
window: set config only when both props end anims
This commit is contained in:
parent
e6532ba024
commit
7617c03dfd
1 changed files with 3 additions and 3 deletions
|
@ -35,10 +35,10 @@ void setAnimToMove(void* data) {
|
||||||
|
|
||||||
CBaseAnimatedVariable* animvar = (CBaseAnimatedVariable*)data;
|
CBaseAnimatedVariable* animvar = (CBaseAnimatedVariable*)data;
|
||||||
|
|
||||||
animvar->setConfig(PANIMCFG);
|
if (animvar->getWindow() && !animvar->getWindow()->m_vRealPosition.isBeingAnimated() && !animvar->getWindow()->m_vRealSize.isBeingAnimated()) {
|
||||||
|
animvar->setConfig(PANIMCFG);
|
||||||
if (animvar->getWindow() && !animvar->getWindow()->m_vRealPosition.isBeingAnimated() && !animvar->getWindow()->m_vRealSize.isBeingAnimated())
|
|
||||||
animvar->getWindow()->m_bAnimatingIn = false;
|
animvar->getWindow()->m_bAnimatingIn = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Events::listener_mapWindow(void* owner, void* data) {
|
void Events::listener_mapWindow(void* owner, void* data) {
|
||||||
|
|
Loading…
Reference in a new issue