1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Ensure node status is refreshed whenever node is edited

Fixes an issue where, if the number of node outputs was changes
the node would resize, but the status text would not reposition
until a new status message arrived.

This change marks status as dirty whenever the node has been
edited, forcing it to be redrawn.
This commit is contained in:
Nick O'Leary 2019-10-14 13:05:45 +01:00
parent 6f91786f4d
commit 147d2a02be
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -202,6 +202,7 @@ RED.editor = (function() {
function updateNodeProperties(node, outputMap) {
node.resize = true;
node.dirty = true;
node.dirtyStatus = true;
var removedLinks = [];
if (node.ports) {
if (outputMap) {