Fixed text box pointers being cut off from caching.

This commit is contained in:
Scott Erickson 2014-09-30 14:00:47 -07:00
parent 528383c0dc
commit c05cc1c0ad

View file

@ -172,7 +172,7 @@ module.exports = class Label extends CocoClass
o.label.regX = background.regX - o.marginX
o.label.regY = background.regY - o.marginY
background.cache(0, 0, w, h)
background.cache(-10, -10, w+20, h+20) # give a wide berth for speech box pointers
g.endStroke()
g.endFill()