mirror of
https://github.com/elementary/gala.git
synced 2025-01-07 10:40:17 +03:00
skip "destroyed" actors and don't do more operations on it
This commit is contained in:
parent
abb374e256
commit
a8dadcf008
@ -536,6 +536,11 @@ namespace Gala
|
||||
if (!list.contains (actor))
|
||||
return false;
|
||||
|
||||
if (actor.is_destroyed ()) {
|
||||
list.remove (actor);
|
||||
return false;
|
||||
}
|
||||
|
||||
actor.detach_animation ();
|
||||
actor.opacity = 255;
|
||||
actor.scale_x = 1.0f;
|
||||
|
Loading…
Reference in New Issue
Block a user