@yuneta/gobj-ui 7.4.2 → 7.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gobj-ui.cjs.js +5 -0
- package/dist/gobj-ui.es.js +5 -0
- package/package.json +1 -1
- package/src/c_g6_nodes_tree.js +10 -0
package/dist/gobj-ui.cjs.js
CHANGED
|
@@ -55731,6 +55731,11 @@ function refresh_minimap(gobj) {
|
|
|
55731
55731
|
}
|
|
55732
55732
|
}
|
|
55733
55733
|
});
|
|
55734
|
+
try {
|
|
55735
|
+
graph.draw();
|
|
55736
|
+
} catch (e) {
|
|
55737
|
+
(0, _yuneta_gobj_js.log_error)(`${(0, _yuneta_gobj_js.gobj_short_name)(gobj)}: cannot draw the minimap: ${e}`);
|
|
55738
|
+
}
|
|
55734
55739
|
}
|
|
55735
55740
|
/************************************************************
|
|
55736
55741
|
* The innerHTML of ONE node, in the given theme and highlight state.
|
package/dist/gobj-ui.es.js
CHANGED
|
@@ -55718,6 +55718,11 @@ function refresh_minimap(gobj) {
|
|
|
55718
55718
|
}
|
|
55719
55719
|
}
|
|
55720
55720
|
});
|
|
55721
|
+
try {
|
|
55722
|
+
graph.draw();
|
|
55723
|
+
} catch (e) {
|
|
55724
|
+
log_error(`${gobj_short_name(gobj)}: cannot draw the minimap: ${e}`);
|
|
55725
|
+
}
|
|
55721
55726
|
}
|
|
55722
55727
|
/************************************************************
|
|
55723
55728
|
* The innerHTML of ONE node, in the given theme and highlight state.
|
package/package.json
CHANGED
package/src/c_g6_nodes_tree.js
CHANGED
|
@@ -4556,6 +4556,16 @@ function refresh_minimap(gobj)
|
|
|
4556
4556
|
}
|
|
4557
4557
|
}
|
|
4558
4558
|
);
|
|
4559
|
+
|
|
4560
|
+
/* The plugin builds its canvas on its FIRST render, and it renders off
|
|
4561
|
+
* the graph's draw events — which have all already happened by the time
|
|
4562
|
+
* the node count is known and this runs. Without a draw of its own it
|
|
4563
|
+
* sits there having never painted, with no container in the DOM at all. */
|
|
4564
|
+
try {
|
|
4565
|
+
graph.draw();
|
|
4566
|
+
} catch(e) {
|
|
4567
|
+
log_error(`${gobj_short_name(gobj)}: cannot draw the minimap: ${e}`);
|
|
4568
|
+
}
|
|
4559
4569
|
}
|
|
4560
4570
|
|
|
4561
4571
|
/************************************************************
|