Matt Curtis

Results 75 comments of Matt Curtis

Possibly, I'll see how time consuming it'd be. It may be beyond the time I have available right now. There's also an [experimental branch](https://github.com/matt-curtis/Sketch-Highlighter/tree/sketch-49-js-api), it would help out a lot...

> any updates on this? is there an alternative which works with current sketch versions? Sorry, no. I haven't had the time to work on this.

Does it still behave this exact way in the current version of Sketch?

So... I've looked into this, and I'm mostly just confused. The APIs to get line rectangle information reports that the second line in your example is 'Sketc' instead of 'Sketch'...

First off - that's some fantastic detective work you did, thanks! What I find interesting is that in your tests, highlight works properly in Fixed mode. In my own texts,...

You may want to give [the version](https://github.com/matt-curtis/Sketch-Highlighter/tree/sketch-49-js-api) I built using the new JS API a try. No guarantees it'll work :)

@uzairfarooq Is there a reason why the event handler is not attached to the document element? Performance reasons?

Not very much. The main uses I needed from an Ellipse type was 1. being able to get the area 2. telling whether or not a point falls within the...

One possible solution is to defer the update - schedule an inspector update for the end of the JS event loop any time the frame/color/etc of a layer is mutated....