🆙 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
@@ -29,7 +29,7 @@ export const AvatarEditorPaletteSetView: FC<{
if(!item) return null;
return (
<AvatarEditorPaletteSetItem isSelected={ isPartColorSelected(item) } partColor={ item } setType={ category.setType } width={ `calc(100% / ${ columnCount }` } onClick={ event => selectEditorColor(category.setType, paletteIndex, item.id) } />
<AvatarEditorPaletteSetItem isSelected={ isPartColorSelected(item) } partColor={ item } onClick={ event => selectEditorColor(category.setType, paletteIndex, item.id) } />
);
} } items={ category.colorItems[paletteIndex] } overscan={ columnCount } />
);