tylergaw/day-player

Remember previous dimensions

Closed this issue · 4 comments

Would be nice for the width and height to default to the previous value, instead of 300.

@nolastan Definitely, would be an excellent addition.

Do you think that the same width/height should be stored for every service or different size per-service?

Either way, we can use NSThread to hold onto the values in between plugin uses https://github.com/tylergaw/sketch-generate-posts/blob/master/Generate%20Posts.sketchplugin#L9

I don't know of a way to store the values after closing/reopening Sketch though.

That would be a great start. When I get some time I'd like to dive into Sketch Plugin development 😄

Fixed by #9