mirror of
https://github.com/nadrad/h-m-m.git
synced 2024-06-07 03:42:13 +02:00
fixed styling for collapsed items without hidden nodes
This commit is contained in:
parent
c447c06223
commit
a95bed5d34
4
h-m-m
4
h-m-m
|
@ -787,9 +787,9 @@ function draw_connections(&$mm, $id)
|
||||||
|
|
||||||
|
|
||||||
// if the node is collapsed
|
// if the node is collapsed
|
||||||
if ($node['collapsed'] ?? false)
|
if ( ($node['collapsed'] ?? false) && ($num_children > 0) )
|
||||||
{
|
{
|
||||||
if ($num_visible_children > 0)
|
if ($num_visible_children == $num_children)
|
||||||
mmput
|
mmput
|
||||||
(
|
(
|
||||||
$mm
|
$mm
|
||||||
|
|
Loading…
Reference in a new issue