liamcain / AutoFileName

Sublime Text plugin that autocompletes filenames
514 stars 78 forks source link

Image dimensions are not updated when the image path is updated #63

Closed dpanov closed 10 years ago

dpanov commented 10 years ago

Hi there, I really love this plugin! Just wanted to report an issue I've stumbled upon while using it.

When you use the plugin to insert an image, it puts the dimensions correctly as attributes.

Then, if you update the image with a new one (again, using AutoFileName), the dimensions are not updated even though the new image has different dimensions.

I think updating the dimensions every time you select a new image is the correct behavior.

Any thoughts?

dpanov commented 10 years ago

Disregard this. It seems to work fine currently. Dunno why it didn't work properly yesterday.