mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-07 16:35:59 +01:00
fixed border animations lag
This commit is contained in:
parent
183026e2b7
commit
3216afbf12
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ void AnimationUtil::move() {
|
|||
|
||||
// Border animations
|
||||
if (window.getDrawable() > 0) {
|
||||
if (window.getEffectiveBorderColor() != window.getRealBorderColor()) {
|
||||
if (window.getEffectiveBorderColor().getAsUint32() != window.getRealBorderColor().getAsUint32() /* As uint32 to round and not spam */) {
|
||||
|
||||
// interp border color if enabled
|
||||
if (ConfigManager::getInt("anim:borders") == 1) {
|
||||
|
|
Loading…
Reference in a new issue