fix a few errors
This commit is contained in:
@@ -45,8 +45,8 @@ func _auto_resize_to_content():
|
|||||||
await get_tree().process_frame
|
await get_tree().process_frame
|
||||||
|
|
||||||
var content_height = get_content_height()
|
var content_height = get_content_height()
|
||||||
var explicit_height = custom_minimum_size.y if custom_minimum_size.y > 0 else -1.0
|
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)
|
var final_height = explicit_height if explicit_height > 0 else max(content_height, min_height)
|
||||||
custom_minimum_size = Vector2(desired_width, final_height)
|
custom_minimum_size = Vector2(desired_width, final_height)
|
||||||
|
|
||||||
queue_redraw()
|
queue_redraw()
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ enum Commands {
|
|||||||
async fn main() -> Result<()> {
|
async fn main() -> Result<()> {
|
||||||
let cli = Cli::parse();
|
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 {
|
match cli.command {
|
||||||
Commands::Request { domain, output } => {
|
Commands::Request { domain, output } => {
|
||||||
|
|||||||
Reference in New Issue
Block a user