commit
f88a4cf487
@ -792,6 +792,7 @@
|
|||||||
* @return {TextMetrics}
|
* @return {TextMetrics}
|
||||||
*/
|
*/
|
||||||
ctx.prototype.measureText = function(text){
|
ctx.prototype.measureText = function(text){
|
||||||
|
this.__ctx.font = this.font;
|
||||||
return this.__ctx.measureText(text);
|
return this.__ctx.measureText(text);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user