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

Fixes the grid options #142

Merged
merged 2 commits into from
Mar 8, 2024
Merged

Fixes the grid options #142

merged 2 commits into from
Mar 8, 2024

Conversation

ManonMarchand
Copy link
Member

What the PR does

  • the parameters gridColor and gridOpacity are no longer ignored (it was reading Aladin.DEFAULT_OPTIONS instead of the user options)
  • add gridOptions to the API description
  • expose showLabels, thickness and labelSize to the users AladinOptions API (they could only be changed in the GUI, but not at startup)
  • edit default values for the grid to fit the aladin style a bit better

the parameters gridColor, gridOpacity, and gridOptions.showLabels are no longer ignored

add gridOptions to the API description

edit default values for the grid to fit the aladin style a bit better
@ManonMarchand ManonMarchand requested a review from bmatthieu3 March 7, 2024 17:13
src/js/Aladin.js Outdated Show resolved Hide resolved
Copy link
Collaborator

@bmatthieu3 bmatthieu3 left a comment

Choose a reason for hiding this comment

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

nice thanks :)

@bmatthieu3 bmatthieu3 merged commit 74d71fd into develop Mar 8, 2024
1 check passed
@ManonMarchand ManonMarchand deleted the fix-grid-options branch March 8, 2024 10:34
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