From 6fa1e07a59699c653120ff84d87c76f6b45c0014 Mon Sep 17 00:00:00 2001 From: ljw Date: Fri, 4 Sep 2026 13:41:40 +0800 Subject: [PATCH] Make Feature like Inverted also update the appended coverages of the targeted Track. --- coolbox/core/frame/base.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/coolbox/core/frame/base.py b/coolbox/core/frame/base.py index 6b172d6..f89deae 100644 --- a/coolbox/core/frame/base.py +++ b/coolbox/core/frame/base.py @@ -269,6 +269,11 @@ def __add__(self, other): if len(result.tracks) != 0: last = list(result.tracks.values())[-1] last.properties.update(other.properties) + if hasattr(last, 'coverages'): + for coverage in last.coverages: + coverage.properties.update(other.properties) + if hasattr(coverage, "track_instance"): + coverage.track_instance.properties.update(other.properties) return result elif isinstance(other, Coverage): if len(result.tracks) != 0: