Don't show a negative size canvas.
authorGunnar Sletta <gunnar.sletta@digia.com>
Wed, 12 Jun 2013 14:35:46 +0000 (16:35 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 13 Jun 2013 10:44:16 +0000 (12:44 +0200)
commit8fa9263cb14fd5f3aa237b95014dbae2647b77e3
tree807140e4b477c7ac93a4381f68091630bd336dcd
parente500396d12c9f0155797ff53e347bf8ba9f69c7a
Don't show a negative size canvas.

This is in line with how Rectangle and Image elements
also behave.

Change-Id: I82cd6ecc6d233645bb3fd968f0f81218188a8991
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
src/quick/items/context2d/qquickcanvasitem.cpp