mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-12-24 18:39:47 +01:00
fix disabled anims not updating
This commit is contained in:
parent
2ca2ddfd2e
commit
7d39393cf8
1 changed files with 3 additions and 2 deletions
|
@ -16,8 +16,6 @@ void AnimationUtil::move() {
|
|||
|
||||
if (ConfigManager::getInt("anim.enabled") == 0 || window.getIsFloating()) {
|
||||
// Disabled animations. instant warps.
|
||||
window.setRealPosition(window.getEffectivePosition());
|
||||
window.setRealSize(window.getEffectiveSize());
|
||||
|
||||
if (VECTORDELTANONZERO(window.getRealPosition(), window.getEffectivePosition())
|
||||
|| VECTORDELTANONZERO(window.getRealSize(), window.getEffectiveSize())) {
|
||||
|
@ -25,6 +23,9 @@ void AnimationUtil::move() {
|
|||
updateRequired = true;
|
||||
}
|
||||
|
||||
window.setRealPosition(window.getEffectivePosition());
|
||||
window.setRealSize(window.getEffectiveSize());
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue