Skip to content

Pass layer metadata to tools #277

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

Merged
merged 2 commits into from
Jul 16, 2021
Merged

Pass layer metadata to tools #277

merged 2 commits into from
Jul 16, 2021

Conversation

henryksloan
Copy link
Contributor

@henryksloan henryksloan commented Jul 16, 2021

This passes the active_document() to the tools, as opposed to active_document().document. This gives tools access to the layer metadata, which will allow tool behavior to depend on state such as selections. This should greatly simplify #143.


This change is Reviewable

@henryksloan henryksloan requested a review from TrueDoctor July 16, 2021 06:09
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 16, 2021

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3637760
Status: ✅  Deploy successful!
Preview URL: https://be4b827c.graphite-master.pages.dev

View logs

@henryksloan henryksloan requested a review from AyeTbk July 16, 2021 06:17
@TrueDoctor TrueDoctor merged commit 7a087ba into master Jul 16, 2021
@TrueDoctor TrueDoctor deleted the tool-layer-metadata branch July 16, 2021 06:38
Keavon pushed a commit that referenced this pull request Jun 16, 2022
Keavon pushed a commit that referenced this pull request Jul 30, 2023
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.

2 participants