diff --git a/flumi/Scripts/Tags/p.gd b/flumi/Scripts/Tags/p.gd index 8a5c384..fca015b 100644 --- a/flumi/Scripts/Tags/p.gd +++ b/flumi/Scripts/Tags/p.gd @@ -45,8 +45,8 @@ func _auto_resize_to_content(): await get_tree().process_frame var content_height = get_content_height() - var explicit_height = custom_minimum_size.y if custom_minimum_size.y > 0 else -1.0 - var final_height = explicit_height if explicit_height >= 0 else max(content_height, min_height) + var explicit_height = custom_minimum_size.y if custom_minimum_size.y > 0 else 0.0 + var final_height = explicit_height if explicit_height > 0 else max(content_height, min_height) custom_minimum_size = Vector2(desired_width, final_height) queue_redraw() diff --git a/protocol/gurtca/src/main.rs b/protocol/gurtca/src/main.rs index 3aec7f9..538de32 100644 --- a/protocol/gurtca/src/main.rs +++ b/protocol/gurtca/src/main.rs @@ -34,7 +34,7 @@ enum Commands { async fn main() -> Result<()> { let cli = Cli::parse(); - let client = client::GurtCAClient::new_with_ca_discovery(cli.ca_url).await? + let client = client::GurtCAClient::new_with_ca_discovery(cli.ca_url).await?; match cli.command { Commands::Request { domain, output } => {