fix(profile): verify and correct headshots, picker and icon
Verification pass: generated true face close-ups for all avatars, gave the wallpaper picker a real height so previews show, corrected Crumb's headshot, and removed the generic paw from the icon.
This commit is contained in:
1 parent
a54279ffd1
commit
f2a92e6be2
30 files changed
+8
-4
No files matched your search
@@ -39,8 +39,6 @@ static func portrait_path(id: String) -> String:
|
||||
|
||||
|
||||
static func head_path(id: String) -> String:
|
||||
if id == "crumb":
|
||||
return "res://art/crumb_head.png"
|
||||
return "res://art/guests/heads/%s.png" % id
|
||||
|
||||
|
||||
|
||||
@@ -356,8 +356,10 @@ func _build_wallpaper_picker() -> void:
|
||||
center.mouse_filter = Control.MOUSE_FILTER_IGNORE
|
||||
wallpaper_layer.add_child(center)
|
||||
var panel := UI.panel(Palette.CREAM, 24, 16)
|
||||
var max_width: int = max(280, int(get_viewport_rect().size.x) - 32)
|
||||
panel.custom_minimum_size = Vector2(min(360, max_width), 0)
|
||||
var view_size := get_viewport_rect().size
|
||||
var max_width: int = max(280, int(view_size.x) - 32)
|
||||
var panel_height: int = max(320, min(470, int(view_size.y) - 96))
|
||||
panel.custom_minimum_size = Vector2(min(360, max_width), panel_height)
|
||||
center.add_child(panel)
|
||||
var box := VBoxContainer.new()
|
||||
box.add_theme_constant_override("separation", 8)
|
||||
@@ -365,6 +367,7 @@ func _build_wallpaper_picker() -> void:
|
||||
box.add_child(UI.heading("Wallpapers", 20))
|
||||
|
||||
var scroll := ScrollContainer.new()
|
||||
scroll.custom_minimum_size = Vector2(0, max(180, panel_height - 170))
|
||||
scroll.size_flags_vertical = Control.SIZE_EXPAND_FILL
|
||||
scroll.horizontal_scroll_mode = ScrollContainer.SCROLL_MODE_DISABLED
|
||||
box.add_child(scroll)
|
||||
|
||||
Reference in new issue
Block a user