Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-copy position values on click #28

Closed
jelmerdemaat opened this issue Jan 25, 2012 · 6 comments
Closed

Auto-copy position values on click #28

jelmerdemaat opened this issue Jan 25, 2012 · 6 comments

Comments

@jelmerdemaat
Copy link

Hi, great little app, thanks.

Would it be a good idea to automatically copy the position values (e.g. "-100px 93px") when clicking a sprite part?
I feel like the copying of the CSS slows down the process a lot...

Cheers,
Jelmer

@danielfilho
Copy link

I might be wrong, but as far as I know, it's only possible through Flash.

This is the "cleaner" way to do it:
https://github.com/mojombo/clippy

I was for some time flirting with this project. I use it a lot, maybe I write this feature on my free time :)

@jakearchibald
Copy link
Owner

Yeah, wouldn't be able to copy on-select, it would need to be a button due to Flash's security rules. Closing this as a duplicate of #26

@jelmerdemaat
Copy link
Author

Can't you detect the change of text in the < code > block that holds these values and copy the values out of that?
After all, the coordinates are present as normal HTML on the page.

@danielfilho
Copy link

@jelmerdemaat the act of copying something needs access to an API of your computer that browsers don't have access, yet.

Flash have it because it's a plugin you've already installed on your computer, so it acts as a "tunnel" for features that browsers don't provide itself.

I think the better approach is to wait a little bit more :)

@jelmerdemaat
Copy link
Author

Alright, thanks. I didn't understand. No further questions. :)

@danielfilho
Copy link

@jelmerdemaat there's nothing wrong on ask, if you tell me what you didn't understood, I can try to explain ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants