Permalink
Browse files

mobile live fix

  • Loading branch information...
1 parent 0f23484 commit 366ae0df46f302a79b08a6d56e07e7e05549968d @jywarren committed Dec 10, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 webserver/public/javascripts/capture.js
@@ -166,7 +166,8 @@ $W = {
if ($W.mobile) {
// mobile will never need to flip, can't be installed "upside down"
//$W.ctx.save()
- $W.ctx.translate(320,0)
+ $W.ctx.scale($('#canvas').width()/$('video').height(),1)
+ $W.ctx.translate($('video').height()/2,0)
$W.ctx.rotate(Math.PI/2)
$W.ctx.drawImage(video, -startrow/4, -$W.height/2);
//$W.ctx.drawImage(video, 0,0)

0 comments on commit 366ae0d

Please sign in to comment.