🆙 Update Avatar-Editor, colors now also scale

This commit is contained in:
duckietm
2026-02-26 16:48:47 +01:00
parent 0678e86d3d
commit 359932f891
6 changed files with 33 additions and 11 deletions
@@ -34,7 +34,7 @@ export const AvatarEditorFigureSetView: FC<{
if(!item) return null;
return (
<AvatarEditorFigureSetItemView isSelected={ isPartItemSelected(item) } partItem={ item } setType={ category.setType } width={ `calc(100% / ${ columnCount }` } onClick={ event => selectEditorPart(category.setType, item.partSet?.id ?? -1) } />
<AvatarEditorFigureSetItemView isSelected={ isPartItemSelected(item) } partItem={ item } setType={ category.setType } width={ `calc(100% / ${ columnCount })` } onClick={ event => selectEditorPart(category.setType, item.partSet?.id ?? -1) } />
);
} } items={ category.partItems } overscan={ columnCount } />
);