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

Draw Projects #1005

Closed
wants to merge 3 commits into from
Closed

Draw Projects #1005

wants to merge 3 commits into from

Conversation

ZasoGD
Copy link

@ZasoGD ZasoGD commented Jun 16, 2015

Little script to create in IITC various separated projects using draw tools.
  • Create a new project and draw in it.
  • Create another new project and draw in it.
  • You can switch between the projects and see only its drawn elements.
NB: It's not possible see all the 'layers projects' simultaneously.

If you want you can rename the plugin or incorporate it to draw tools.

screenshot

ZasoGD added 2 commits June 16, 2015 20:01
- remove a project using "Drawn Items reset" from the drawtools panel;
- fix when the stock drawtools localstorage is resetted;
@BondUniverse
Copy link

@jonatkins When will this be approved/rejected? This is a functionality that I know a lot of OPs would absolutely LOVE! I hope it gets approved soon!!! So much potential!!!

@pleasantone
Copy link
Contributor

+1 please

@VBelozyorov
Copy link

@jonatkins please consider to merge this ASAP. It's musthave feature

}

for(field in window.localStorage) {
if(field.includes(window.plugin.drawProjects.PREKEY)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line 39 -> "string.includes" requires chrome 41 or firefox 40

use >> if(field.indexOf(window.plugin.drawProjects.PREKEY) !== -1) {

- _string.includes()_ not compatible with all browser version. replaced
it with _string.indexOf()_ (thanks to VBelozyorov and McBen for the
report);

- shift _window.plugin.drawProjects.projects = [];_ in _scanStorage()_
to reset the array when the function is executed.
@Duwacell
Copy link

i was looking for this feature for a long time ! 1000 Thanks

@ZasoGD
Copy link
Author

ZasoGD commented Apr 8, 2016

The IITC project on github now is stopped. I close this pull. When IITC will start again I'll request for this plugin (which has since changed) and for others.

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

Successfully merging this pull request may close these issues.

6 participants