px scaling support on the way + some styles updates
This commit is contained in:
parent
f1e384ecc2
commit
60bd47465d
11 changed files with 50 additions and 35 deletions
|
|
@ -50,7 +50,7 @@
|
|||
if (!self.height || !self.width || (self.height==100 && self.width==100)) return
|
||||
|
||||
ctx.clearRect(0,0,self.width,self.height)
|
||||
ctx.font = '13px Droid Sans'
|
||||
ctx.font = PXSCALE * 13 + 'px Droid Sans'
|
||||
ctx.textBaseline = "top"
|
||||
ctx.fillStyle = self.color
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue