I'm trying to add a div below c2canvasdiv in the index HTML file.
Like this: https://www.scirra.com/forum/how-do-i-put-a-div-below-canvas-in-html_t189151
My div height is 75px and I want to decrease c2canvasdiv and c2canvas height so my div can fit on the screen.
c2canvas and c2canvasdiv sizes are controlled by c2runtime.js. (My project's fullscreen setting is 'Scale Outer'.) For hours, I've tried to modify height in c2runtime.js but it won't work.
So is there anybody did something like this before? I really appreciate any help. Thank you.
I replaced all 'window.innerHeight' with 'window.innerHeight-75' in c2runtime.js and it worked. If you find a better solution please let me know.