Browse Source

Fixed duplicate textAlign getter

v1.x
Tj Holowaychuk 14 years ago
parent
commit
cff9649518
  1. 2
      lib/context2d.js

2
lib/context2d.js

@ -248,7 +248,7 @@ Context2d.prototype.__defineSetter__('textBaseline', function(val){
* @api public
*/
Context2d.prototype.__defineGetter__('textAlign', function(){
Context2d.prototype.__defineGetter__('textBaseline', function(){
return this.lastBaseline || 'alphabetic';
});

Loading…
Cancel
Save