fix - dimming the numbers at the beginning

It wasn't formatting them when they were at the same Y as the
active node. Now they are, but in return, the rest of those
titles are not bold when active.
This commit is contained in:
nadrad 2023-01-07 12:39:31 +01:00
parent 9ce26f65ba
commit d53c923049

9
h-m-m
View file

@ -2648,7 +2648,14 @@ function display(&$mm, $force_center = false)
.reset_color
.mb_substr($line, $x2)
;
else // styling the codes when the node is not active
// styling the codes when the node is not active
// it used to be the 'else' of the above condition
// because it resets the bold attribute of the active
// node. However, it think losing the bold attribute
// is better than leaving the numbers unformatted
// in the same line as the active node.
$line =
mb_ereg_replace
(