Dimkinware
04/05/2025, 4:15 PMwasmJsBrowserDevelopmentRun
task, everything works fine — the canvas takes up the full size of the browser window.
However, when I serve the same compiled WASM code (using the wasmJsBrowserDistribution
task) with my own Ktor server, the canvas height is only 308px.
I can't understand where the difference is coming from.
Any ideas? Thanks in advance
ComposeViewport(document.body!!) {
App()
}
Dimkinware
04/05/2025, 4:43 PM