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:
parent
6f91786f4d
commit
147d2a02be
@ -202,6 +202,7 @@ RED.editor = (function() {
|
|||||||
function updateNodeProperties(node, outputMap) {
|
function updateNodeProperties(node, outputMap) {
|
||||||
node.resize = true;
|
node.resize = true;
|
||||||
node.dirty = true;
|
node.dirty = true;
|
||||||
|
node.dirtyStatus = true;
|
||||||
var removedLinks = [];
|
var removedLinks = [];
|
||||||
if (node.ports) {
|
if (node.ports) {
|
||||||
if (outputMap) {
|
if (outputMap) {
|
||||||
|
Loading…
Reference in New Issue
Block a user