diff --git a/src/text/PointText.js b/src/text/PointText.js index 76600363..04cda026 100644 --- a/src/text/PointText.js +++ b/src/text/PointText.js @@ -84,6 +84,13 @@ var PointText = this.PointText = TextItem.extend(/** @lends PointText# */{ ctx.strokeText(line, 0, 0); ctx.translate(0, leading); } + }, + + // TODO: Should we be drawing the selection like this? Perhaps a small + // rectangle for the starting point of the text and a colored line on + // the baseline for its width? + drawSelected: function(ctx, matrix) { + Item.drawSelectedBounds(this._getBounds(), ctx, matrix); } }, new function() { var context = null;