diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-04-09 11:09:26 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-04-09 11:09:26 +0200 |
commit | b0de4e5bf2e87d90d8d4e000902d717f06d7ac6b (patch) | |
tree | 7611bc8fea1011b80bfc9c11cee3a570f5a6c1bf | |
parent | f1a610194cb900c4b8b92f15300f72119efa4b5e (diff) |
Fillrect must use over to handle alpha color
-rw-r--r-- | client.html | 2 |
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; |