diff options
| author | tpart <tpart120@proton.me> | 2024-11-22 18:26:04 +0100 | 
|---|---|---|
| committer | tpart <tpart120@proton.me> | 2024-11-22 18:26:04 +0100 | 
| commit | 53ffbc943e5059e27831483203b7785d8e75c74b (patch) | |
| tree | 486593434f79c4185d17333fa181cac518a7a4ac | |
| parent | 39aba8a56665540df6a4ab54bc6487ef844c292c (diff) | |
| download | hurrycurry-53ffbc943e5059e27831483203b7785d8e75c74b.tar hurrycurry-53ffbc943e5059e27831483203b7785d8e75c74b.tar.bz2 hurrycurry-53ffbc943e5059e27831483203b7785d8e75c74b.tar.zst | |
Fix table of contents empty
| -rw-r--r-- | client/menu/document/document.gd | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/client/menu/document/document.gd b/client/menu/document/document.gd index 6c4b0685..1b1619f0 100644 --- a/client/menu/document/document.gd +++ b/client/menu/document/document.gd @@ -77,8 +77,8 @@ func build_document(element: Dictionary, bullet: bool = false) -> Control:  			for e in element["es"]:  				node.add_child(build_document(e, bullet))  		"ref": -			# TODO, implement later -			node = Control.new() +			# TODO: Support clicking +			node = build_document(element["e"], bullet)  		"conditional":  			# Ignore all conditionals for now, since they are only revelant for typst version  			node = Control.new() | 
