Skip to content

Add x1, y1 to getMeta()#55

Merged
texodus merged 1 commit intofinos:masterfrom
JHawk:add-x1-y1-to-meta
Jun 17, 2020
Merged

Add x1, y1 to getMeta()#55
texodus merged 1 commit intofinos:masterfrom
JHawk:add-x1-y1-to-meta

Conversation

@JHawk
Copy link
Copy Markdown
Contributor

@JHawk JHawk commented Jun 15, 2020

This PR exposes the x1 and y1 passed to the DataListener when invoked via MetaData.

@JHawk JHawk mentioned this pull request Jun 15, 2020
Copy link
Copy Markdown
Member

@texodus texodus left a comment

Choose a reason for hiding this comment

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

Looks good!

There is one stipulation, that x1 may be slightly inaccurate, since it does not take into account extensions performed when the initial data window requested doesn't fill up the viewport width. I think given the nature of what this is used for, that this probably only merits documentation mention for now.

@texodus
Copy link
Copy Markdown
Member

texodus commented Jun 17, 2020

Thanks for the PR!

@texodus texodus merged commit 499741b into finos:master Jun 17, 2020
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