2394425147 / 2394425147/astrodx
[Bug] Chart menu does not tile properly when device orientation changes
- Langage dominant
- C#
- Étoiles
- 1.9k
- Forks
- 63
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### ⠀
- [x] This issue is not duplicated with any other open or closed issues
### Describe the bug
The charts do not tile by the correct number of columns (e.g. 4 columns by default) when exiting a level in a different orientation (i.e. exiting a chart in portrait mode when the chart menu is in landscape). Instead, it only uses 1 column to display charts, sometimes split into different columns.
### Expected behavior
When exiting a chart in a different orientation, the chart menu should display the correct number of columns (e.g. 4 and not 1).
### Steps to reproduce
1. Launch the game in landscape mode
2. Play a chart in portrait mode
3. Exit the chart
### Device information
Device: Redmi Note 12 Pro+
System: Android 14 (HyperOS 2.0.3.0.UMOCNXM)
Version: v2.0.0.beta.4.patch.7
### Screenshots

Bugged menu

Expected menu
### Additional context
Might be caused by this fix in [v2.0.0.beta.4.patch.7](https://github.com/2394425147/astrodx/releases/tag/v2.0.0.beta.4.patch.7):
> UI Animation: Improved overall animation performance
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Look at the chart menu UI layout code, likely in a script handling grid or tile arrangement. The bug is triggered by an orientation change; check how the column count is calculated or reset when returning from a chart scene. Reproduce by following the steps on an Android device or emulator, and inspect the UI state after orientation changes.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp, unity
- Domaine
- game-dev, mobile
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 45/100