fix a few errors

This commit is contained in:
Face
2025-08-22 18:36:29 +03:00
parent 45d9a8e540
commit e01b44f7ab
2 changed files with 3 additions and 3 deletions

View File

@@ -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()

View File

@@ -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 } => {