pull/4/head
Atul Varma 2021-02-15 22:51:35 -05:00
rodzic 93e972256c
commit 5f237b52bb
1 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -101,7 +101,10 @@ const CreatureSymbol: React.FC<CreatureSymbolProps> = (props) => {
let xFlip = 1;
if (normX < 0) {
xFlip = -1;
xFlip *= -1;
}
if (ourAp.normal.x < 0) {
xFlip *= -1;
}
return (
@ -139,6 +142,8 @@ const Wing = createCreatureSymbol("wing");
const MuscleArm = createCreatureSymbol("muscle arm");
const Leg = createCreatureSymbol("leg");
const Tail = createCreatureSymbol("tail");
export const CreaturePage: React.FC<{}> = () => {
@ -185,6 +190,8 @@ export const CreaturePage: React.FC<{}> = () => {
<Arm attachTo="arm" />
</Hand>
</Crown>
<Leg attachTo="leg" />
<Leg attachTo="leg" attachIndex={1} />
<Tail attachTo="tail" />
</Eye>
</g>