mirror of
https://github.com/penpot/penpot.git
synced 2026-06-09 17:02:05 +00:00
The `update-text-range` event's `watch` method was returning a bare potok event object (`dwwt/resize-wasm-text-debounce id`) directly inside `rx/concat`, instead of wrapping it in `rx/of`. This caused RxJS to throw "You provided an invalid object where a stream was expected" when a plugin set text fills via the Plugin API. The fix wraps the event in `rx/of` so it becomes a valid Observable, matching the pattern used elsewhere in the codebase (e.g., `clipboard.cljs` lines 1050/1082 and `texts.cljs` line 1232). Signed-off-by: Andrey Antukh <niwi@niwi.nz>