Commit 157da440 authored by Pasi Keranen's avatar Pasi Keranen Committed by Oswald Buddenhagen
Browse files

Fixing the canvas resize to behave more like in HTML world.


Separating the pixel size from the layout size like in HTML makes Canvas3D
behave more like the WebGL canvas and reduces delta when porting code.

Change-Id: Icb9e083839a42d0cd5c3823fa37c2e2f2a913e74
Reviewed-by: default avatarTomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: default avatarPasi Keränen <pasi.keranen@digia.com>
Showing with 192 additions and 69 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment