network-weathermap icon indicating copy to clipboard operation
network-weathermap copied to clipboard

In editor, moving a node with relative children doesn't update imagemap

Open howardjones opened this issue 8 years ago • 3 comments

When a node has children (relative positions), and it is moved, the positions of the children are not immediately recalculated. This gives a situation where the imagemap doesn't update, but the image itself does (because it involves reloading the config). The move takes fully place as expected after any other change (or 'do nothing').

Immediately after a node move, relative positions should be recalculated. There is no convenient facility to do this currently.

Temporary fix: just press "do nothing" or edit something else.

howardjones avatar May 23 '17 22:05 howardjones

I am aware of the bug in #95, I experienced many times in the past. to get around it I usually reload a config in editor by open a new config file:). Fix for it would be nice!

ikorzha avatar May 23 '17 23:05 ikorzha

I have tested the latest editor.php build, I do see that original #95 bug still there. I'm not sure if you have made an attempt to address it or now.

ikorzha avatar May 24 '17 13:05 ikorzha

No, that will take more change - it needs to reset the status of all the nodes and recalculate them.

howardjones avatar May 24 '17 14:05 howardjones