fixed background settings not applying ( save )

This commit is contained in:
Mahdi Dibaiee
2014-02-07 17:52:26 +03:30
parent 6a47a2ff9d
commit eaf4cba87d
3 changed files with 7 additions and 15 deletions

View File

@ -31,7 +31,7 @@ window.save = function() {
break;
}
case 'current color': {
c.fillStyle = settings.strokeStyle;
c.fillStyle = settings.color;
c.globalCompositeOperation = 'destination-over';
c.fillRect(0, 0, width(), height());
c.globalCompositeOperation = settings.composite;