Finalize Player Menu and UI scaling
This commit is contained in:
parent
5af84eaf47
commit
3900b46618
17 changed files with 1002 additions and 322 deletions
|
|
@ -150,10 +150,7 @@ func _process(delta: float) -> void:
|
|||
func _update_layout() -> void:
|
||||
if not is_node_ready() or _cluster == null:
|
||||
return
|
||||
var compact: bool = (
|
||||
size.x < compact_width_threshold
|
||||
or size.y < compact_height_threshold
|
||||
)
|
||||
var compact: bool = false
|
||||
var layout_maximum: Vector2 = maximum_layout_size
|
||||
if compact and compact_maximum_layout_size != Vector2.ZERO:
|
||||
layout_maximum = compact_maximum_layout_size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue