mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 07:26:19 +00:00
Pixi v8 alignment in 2 room-widget helpers
- ChooserSelectionVisualizer: sprite.blendMode is BLEND_MODES (string enum in Pixi v8: 'normal' | 'add' | 'multiply' | ...). The legacy Pixi numeric enum compared against '=== 1' (ADD); switch to '=== "add"'. - MannequinUtilities.MANNEQUIN_FIGURE was inferred as (string | number | number[])[]: the 'hd' / 99999 / [99998] triple needs to be a typed tuple [string, number, number[]] so the figureContainer.updatePart(string, number, number[]) call resolves.
This commit is contained in:
@@ -2,7 +2,7 @@ import { AvatarFigurePartType, GetAvatarRenderManager, IAvatarFigureContainer }
|
||||
|
||||
export class MannequinUtilities
|
||||
{
|
||||
public static MANNEQUIN_FIGURE = [ 'hd', 99999, [ 99998 ] ];
|
||||
public static MANNEQUIN_FIGURE: [ string, number, number[] ] = [ 'hd', 99999, [ 99998 ] ];
|
||||
public static MANNEQUIN_CLOTHING_PART_TYPES = [
|
||||
AvatarFigurePartType.CHEST_ACCESSORY,
|
||||
AvatarFigurePartType.COAT_CHEST,
|
||||
|
||||
Reference in New Issue
Block a user