From 70295bee33dfae15089c418c60ff5d2d706f4a62 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Tue, 15 Aug 2023 15:05:44 +0400 Subject: [PATCH] Listen to frame:updated in CanvasSpots --- src/canvas/model/CanvasSpots.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/canvas/model/CanvasSpots.ts b/src/canvas/model/CanvasSpots.ts index 7acfb200f..0d627f9f0 100644 --- a/src/canvas/model/CanvasSpots.ts +++ b/src/canvas/model/CanvasSpots.ts @@ -14,7 +14,7 @@ export default class CanvasSpots extends ModuleCollection { this.on('remove', this.onRemove); const { em } = this; this.refreshDbn = debounce(() => this.refresh(), 0); - const evToRefreshDbn = 'component:resize styleable:change component:input component:update undo redo'; + const evToRefreshDbn = 'component:resize styleable:change component:input component:update frame:updated undo redo'; this.listenTo(em, evToRefreshDbn, () => this.refreshDbn()); }