summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-04-09 11:09:26 +0200
committerAlexander Larsson <alexl@redhat.com>2010-04-09 11:09:26 +0200
commitb0de4e5bf2e87d90d8d4e000902d717f06d7ac6b (patch)
tree7611bc8fea1011b80bfc9c11cee3a570f5a6c1bf
parentf1a610194cb900c4b8b92f15300f72119efa4b5e (diff)
Fillrect must use over to handle alpha color
-rw-r--r--client.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.html b/client.html
index 001afb2..f7d03dd 100644
--- a/client.html
+++ b/client.html
@@ -261,7 +261,9 @@ function handleCommands(cmd_obj)
i = i + 3;
var h = base64_16(cmd, i);
i = i + 3;
+ current_context.globalCompositeOperation = "source-over"
current_context.fillRect(x, y, w, h);
+ current_context.globalCompositeOperation = "copy"
break;