mirror of
https://github.com/Vikeo/LifeTrinket.git
synced 2025-11-16 15:58:00 +00:00
fix side counters
This commit is contained in:
@@ -20,11 +20,11 @@ const presetColors = [
|
||||
];
|
||||
|
||||
const getRotation = (index: number, gridAreas: GridTemplateAreas): Rotation => {
|
||||
if (gridAreas === GridTemplateAreas.OnePlayerLandscape && index === 1) {
|
||||
if (gridAreas === GridTemplateAreas.OnePlayerLandscape && index === 0) {
|
||||
return Rotation.Normal;
|
||||
}
|
||||
|
||||
if (gridAreas === GridTemplateAreas.OnePlayerPortrait && index === 1) {
|
||||
if (gridAreas === GridTemplateAreas.OnePlayerPortrait && index === 0) {
|
||||
return Rotation.Side;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user