Connor Byrne
d0e617af49
fix: refresh DomWidget disabled/clipping when non-reactive sources change
...
The per-frame mutation optimization broke two cases where DomWidget style
depends on values outside widgetState:
1. widget.computedDisabled is set by litegraph when an input is connected.
The previous deep-watch on widgetState picked it up incidentally because
pos/size were rewritten every frame; with equality-checked writes the
secondary watcher never re-fires, so the connected widget no longer
renders at opacity 0.5.
2. DomWidget clipping is computed against the selected node's renderArea
(non-reactive). When the selected node is dragged, only its own widget's
pos changes — widgets owned by other nodes never re-run updateDomClipping
and their clip-path stays stale, so a background widget bleeds through
the foreground node.
Mirror computedDisabled into widgetState each frame and treat selected-node
movement the same as a viewport change (force pos reassignment to refire
the downstream watcher). Restore the bot-regenerated baselines for the two
affected screenshot tests.
2026-05-04 14:15:04 -07:00
..
2026-04-28 08:52:49 +00:00
2026-04-19 04:58:34 +00:00
2026-03-15 22:46:47 +09:00
2026-03-15 22:46:47 +09:00
2026-04-28 00:13:43 +00:00
2025-12-29 15:03:34 -08:00
2026-03-27 09:11:26 +09:00
2026-03-15 22:46:47 +09:00
2026-03-28 13:08:52 -07:00
2026-04-13 00:09:50 -04:00
2026-05-04 14:15:04 -07:00
2026-05-01 18:49:31 -04:00
2026-04-09 20:50:56 -07:00
2026-03-15 22:46:47 +09:00
2026-03-27 16:04:36 -04:00
2026-03-28 23:19:04 -07:00
2026-04-17 20:22:39 -07:00
2026-03-15 22:46:47 +09:00
2025-12-08 19:48:11 -07:00
2026-03-15 22:46:47 +09:00
2025-12-08 19:48:11 -07:00
2026-04-13 00:13:04 -04:00
2026-05-04 14:15:04 -07:00
2026-05-01 09:35:29 +00:00
2026-04-29 19:10:31 +00:00
2026-03-15 22:46:47 +09:00
2026-03-15 22:46:47 +09:00
2026-03-24 12:25:18 -07:00
2026-04-17 20:37:22 +00:00
2026-03-17 10:46:19 -07:00
2026-05-01 09:35:29 +00:00
2026-05-01 03:37:20 +00:00
2026-03-29 08:27:53 +09:00
2026-04-13 20:43:25 +00:00
2026-03-27 09:11:26 +09:00
2026-05-01 09:35:29 +00:00
2026-03-15 22:46:47 +09:00
2026-04-16 12:54:12 +00:00
2026-04-28 19:13:12 -04:00
2026-04-28 02:18:31 +00:00
2026-04-10 19:47:20 +00:00
2026-04-28 02:18:31 +00:00
2026-04-15 11:42:22 +00:00
2026-04-15 11:42:22 +00:00
2026-04-28 02:18:31 +00:00
2026-04-10 19:47:20 +00:00
2026-04-20 18:37:45 +00:00
2026-04-08 11:28:59 -07:00
2026-04-14 23:33:11 +00:00
2026-04-28 02:18:31 +00:00
2026-04-13 20:43:25 +00:00
2026-04-16 12:54:12 +00:00
2026-04-28 02:18:31 +00:00
2026-04-28 02:18:31 +00:00
2026-04-28 17:21:55 +00:00
2026-04-15 15:25:47 +00:00
2026-04-28 09:46:25 -04:00
2026-04-16 12:54:12 +00:00
2026-04-16 12:54:12 +00:00
2026-04-27 20:44:32 +00:00
2026-04-13 15:50:11 +00:00
2026-04-16 12:38:01 +00:00
2026-04-15 15:25:47 +00:00
2026-04-09 20:50:56 -07:00
2026-04-08 11:28:59 -07:00
2026-04-08 11:28:59 -07:00
2026-04-16 09:44:06 +00:00
2026-04-13 20:43:25 +00:00
2026-04-15 15:25:47 +00:00
2026-04-14 14:31:31 -07:00
2026-04-11 01:25:14 +00:00
2026-04-28 02:18:31 +00:00
2026-05-01 09:35:29 +00:00
2026-04-10 19:47:20 +00:00
2026-04-13 20:43:25 +00:00
2026-04-11 01:25:14 +00:00
2026-04-20 17:35:17 -07:00
2026-04-16 13:43:02 +09:00
2026-04-11 01:25:14 +00:00
2026-04-15 15:25:47 +00:00
2026-04-09 20:50:56 -07:00
2026-04-15 16:52:41 +00:00
2026-04-15 16:52:41 +00:00
2026-04-20 22:43:28 +00:00
2026-04-15 10:50:44 -04:00
2026-04-16 09:48:13 +00:00
2026-04-09 20:50:56 -07:00
2026-04-15 15:25:47 +00:00
2026-04-14 17:40:23 +00:00
2026-04-10 19:47:20 +00:00
2026-04-09 20:50:56 -07:00
2026-04-23 02:43:57 +00:00
2026-04-14 17:40:23 +00:00
2026-04-28 22:02:42 +00:00
2026-04-08 11:28:59 -07:00
2026-04-09 20:50:56 -07:00
2026-04-09 20:50:56 -07:00
2026-04-28 08:33:42 -04:00
2026-04-16 09:48:13 +00:00
2026-04-13 20:43:25 +00:00
2026-04-23 22:17:16 -04:00
2026-04-15 15:25:47 +00:00
2026-04-09 20:50:56 -07:00
2026-04-15 16:52:41 +00:00
2026-04-11 01:25:14 +00:00
2026-04-30 17:30:04 +00:00
2026-04-28 02:18:31 +00:00
2026-04-13 20:43:25 +00:00
2026-04-15 15:25:47 +00:00
2026-04-29 20:52:58 +00:00
2026-04-28 22:02:33 +00:00
2026-04-23 19:33:18 +00:00
2026-04-08 11:28:59 -07:00
2026-04-13 20:43:25 +00:00
2026-04-28 02:18:31 +00:00
2026-04-13 20:43:25 +00:00
2026-04-28 02:18:31 +00:00
2026-04-08 11:28:59 -07:00
2026-05-02 05:40:45 +00:00
2026-04-10 19:47:20 +00:00
2026-04-13 20:43:25 +00:00
2026-04-13 20:43:25 +00:00
2026-04-08 11:28:59 -07:00
2026-04-14 17:40:23 +00:00
2026-04-14 17:40:23 +00:00
2026-04-15 15:25:47 +00:00
2026-04-28 09:46:25 -04:00
2026-04-14 17:30:49 +00:00
2026-04-28 02:18:31 +00:00
2026-04-15 15:25:47 +00:00
2026-04-30 16:15:53 -07:00
2026-04-15 16:52:41 +00:00
2026-04-14 23:20:45 +00:00
2026-04-15 16:52:41 +00:00
2026-04-13 20:43:25 +00:00
2026-04-23 02:42:04 +00:00
2026-04-08 11:28:59 -07:00
2026-04-13 20:43:25 +00:00
2026-04-14 17:40:23 +00:00
2026-04-20 18:53:45 +00:00
2026-04-08 11:28:59 -07:00
2026-04-11 01:25:14 +00:00
2026-04-13 20:43:25 +00:00
2026-04-15 15:25:47 +00:00
2026-04-22 11:29:08 -07:00
2026-04-11 01:25:14 +00:00
2026-04-13 22:15:45 +00:00
2026-04-16 12:54:12 +00:00
2026-05-01 09:09:31 +00:00
2026-04-13 20:43:25 +00:00
2026-04-11 01:25:14 +00:00