examples: Drop bogus reference

Canvas doesn't have an "alpha" property.

Change-Id: I7cedff568ec062d7586b6b7333e32a8e52d2e8a9
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Ulf Hermann 2019-11-18 15:20:20 +01:00
parent 41bbf7e376
commit 74377894ec
1 changed files with 0 additions and 1 deletions

View File

@ -97,7 +97,6 @@ Item {
ctx.save();
ctx.clearRect(0, 0, canvas.width, canvas.height);
ctx.translate(originX, originX);
ctx.globalAlpha = canvas.alpha;
ctx.strokeStyle = canvas.strokeStyle;
ctx.fillStyle = canvas.fillStyle;
ctx.lineWidth = canvas.lineWidth;