fix(rendering): complete character visual regression fixes
This commit is contained in:
@@ -339,7 +339,12 @@ func _swap(local_a: int, local_b: int) -> void:
|
||||
func _build(parent: Node) -> void:
|
||||
_root = Control.new()
|
||||
_root.set_anchors_preset(Control.PRESET_CENTER_BOTTOM)
|
||||
_root.position = Vector2(-SLOTS_PER_PAGE * 23, -54)
|
||||
# Give the root a real extent. A zero-sized Control happened to work with
|
||||
# some viewport sizes, but makes anchoring and hit testing fragile on Retina
|
||||
# windows. The old HUD's empty row then made this look like missing skills.
|
||||
_root.size = Vector2(400, 56)
|
||||
_root.position = Vector2(-200, -62)
|
||||
_root.z_index = 10
|
||||
parent.add_child(_root)
|
||||
var prev := Button.new()
|
||||
prev.text = "‹"
|
||||
|
||||
Reference in New Issue
Block a user