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 Issue #409 #464

Merged
merged 8 commits into from
Dec 5, 2019
Merged

Fix Issue #409 #464

merged 8 commits into from
Dec 5, 2019

Conversation

AndreaGon
Copy link
Contributor

@AndreaGon AndreaGon commented Dec 4, 2019

TamTam Micro Activity can now be made into fullscreen mode. This should fix #409

Fix409

temp file for new icons folder
@AndreaGon AndreaGon changed the title temp Fix Issue #409 Dec 4, 2019
On user click, the activity becomes fullscreen/unfullscreen.
Image will be added to the buttons. Also added extra css to unfullscreen button to render it well on fullscreen mode.
Added the HTML button tags for fullscreen/unfullscreen buttons.
On fullscreen mode, the main toolbar is not displayed, and the whole activity canvas is moved up and the height is fully extended.
@llaske
Copy link
Owner

llaske commented Dec 4, 2019

It's a good start but there is an error in console:

activity.js:25 Uncaught TypeError: TamTam.App.computeSize is not a function
    at HTMLButtonElement.<anonymous> (activity.js:25)

Look like you don't call the right function to recompute size.

I replaced "TamTam.App.computeResize()" into "app.computeResize()" instead.
I moved the unfullscreen button to avoid accidentally stopping the activity on double click.
@AndreaGon
Copy link
Contributor Author

AndreaGon commented Dec 5, 2019

I've replaced the function call and adjusted the position of the unfullscreen button on this new changes. Let me know if there are still some issues!

@llaske
Copy link
Owner

llaske commented Dec 5, 2019

Good job Andrea, as usual. Thanks.

@llaske llaske merged commit 09fd924 into llaske:dev Dec 5, 2019
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