From 76912e277a65fd8b4ec7e15cad94e0e682ce4528 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 3 Oct 2023 01:07:36 +0200 Subject: [PATCH] fixed bug with CE triggered global animations treated as "off-screen" --- src/anim.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/anim.c b/src/anim.c index 060bb60e..acc71733 100644 --- a/src/anim.c +++ b/src/anim.c @@ -1433,6 +1433,10 @@ static void InitGlobalAnim_Triggered_ByCustomElement(int nr, int page, if (c->position == POS_CE) { + // may contain negative tile offset that is treated as "off-screen" + part2->x = 0; + part2->y = 0; + // store CE tile and offset position to handle scrolling part2->tile_x = x; part2->tile_y = y; -- 2.34.1