Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Planet Selection Screen not rendering correctly on real phone #305

Merged
merged 4 commits into from
Dec 19, 2024

Conversation

Kenzoud
Copy link
Contributor

@Kenzoud Kenzoud commented Dec 19, 2024

This pull request refactors the PlanetSelectionScreen to address layout issues encountered on physical devices. The modifications ensure all components are displayed correctly and are no longer obscured by the GLSurfaceView. Additionally, a clear separation between UI elements and OpenGL rendering was introduced.

Replaced Surface with Scaffold:

  • Migrated the PlanetSelectionScreen to use Scaffold for separation of the top bar (UI components) and the content (OpenGL rendering).

PlanetSurfaceView:

  • Enabled transparency

This PR is related to PR #298

@Kenzoud Kenzoud self-assigned this Dec 19, 2024
@Kenzoud Kenzoud linked an issue Dec 19, 2024 that may be closed by this pull request
Copy link
Contributor

@mehdi-hamirifou mehdi-hamirifou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good Job! Your pull request successfully resolves the layout issues, ensures seamless functionality on physical devices, and adds valuable test coverage on the planet selection screen.

Approved for merge.

@mehdi-hamirifou mehdi-hamirifou merged commit 93549af into main Dec 19, 2024
3 checks passed
@Kenzoud Kenzoud deleted the fix/planet-selection-screen-bug branch December 19, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix planet selection screen not displaying correctly on real phone
2 participants