Skip to content

Commit

Permalink
changed default rendering position in workshop
Browse files Browse the repository at this point in the history
  • Loading branch information
Andcool-Systems committed Sep 1, 2024
1 parent ce87b42 commit 8a994df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/modules/components/card.module.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const generateSkin = async (b64: string, base_skin: HTMLImageElement, col
const bandage = await asyncImage(b64Prefix + b64);

const height = Math.floor(bandage.height / 2);
const position = 6 - Math.floor(height / 2);
const position = 6 - Math.ceil(height / 2);

const skin_canvas = document.createElement('canvas');
const skin_context = skin_canvas.getContext('2d');
Expand Down

0 comments on commit 8a994df

Please sign in to comment.