diff options
Diffstat (limited to 'ext/fg/js/source-image.js')
| -rw-r--r-- | ext/fg/js/source-image.js | 8 | 
1 files changed, 7 insertions, 1 deletions
| diff --git a/ext/fg/js/source-image.js b/ext/fg/js/source-image.js index bbc0ba46..319f25fe 100644 --- a/ext/fg/js/source-image.js +++ b/ext/fg/js/source-image.js @@ -32,8 +32,14 @@ class TextSourceImage {          return this.img.getAttribute('alt') || '';      } -    setLength(length) { +    setStartOffset(length) { +        // NOP +        return 0; +    } + +    setEndOffset(length) {          this.length = length; +        return length;      }      containsPoint(point) { |