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

Last fixes and additions #58

Closed

Conversation

GeraldKimmersdorfer
Copy link
Contributor

Heyho this pr fixes a bunch of things and adds the possibility to switch to fullscreen on native build by pressing F11.

Should be the last push from my side in terms of the fancy map project.

@adam-ce
Copy link
Member

adam-ce commented Nov 24, 2023

The F11 toggle looks a lot like spaghetti code to me:

  • Rendering thread notifier is pulled in to do something it has no concern with
  • TerrainRenderItem too, in the future we could use for rendering a small preview of map changes. having the fullscreen code would be one more thing we would have to clean out before that works.
  • the same change can be done in main_loader.qml in 13 lines (not touching so many different files).

I propose to revert that commit, and I'll merge my F11 version separately.

@adam-ce
Copy link
Member

adam-ce commented Nov 24, 2023

the rest of the changes are super cool :)

f11 toggles fullscreen (tested on desktop, on webassembly the behavio…
Copy link
Member

@adam-ce adam-ce left a comment

Choose a reason for hiding this comment

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

see comment before

@adam-ce adam-ce closed this Nov 27, 2023
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.

2 participants