Skip to content

Commit e1855ae

Browse files
committed
Support Vue-compatible secondary surfaces in node lifecycle
Route canvas events, controls, and redraws to isolated secondary surfaces so Vue Parameters panels and similar widgets behave independently from the primary node canvas without regressing primary-surface handling. Add regression coverage for secondary-surface draw, hover, and pointer event routing.
1 parent 6bab4c4 commit e1855ae

3 files changed

Lines changed: 440 additions & 24 deletions

File tree

js/drawing/resolution_master_draw_methods.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ export const drawingMethods = {
216216
(_, index) => 5 + LiteGraph.NODE_SLOT_HEIGHT * (index + 0.5)
217217
);
218218
const vueSlotCenters = this.isVueNodesMode?.()
219+
&& !this._drawingVueCompatSecondarySurface
219220
&& this._vueCompatOutputSlotCenters?.length >= classicSlotCenters.length
220221
? this._vueCompatOutputSlotCenters
221222
: null;

0 commit comments

Comments
 (0)