Skip to content

Commit

Permalink
Update: Add has-numbered-pins class when using numbered pins (fix #320)…
Browse files Browse the repository at this point in the history
… (#321)
  • Loading branch information
swashbuck authored Sep 30, 2024
1 parent 480429a commit f572710
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* A sentence describing each fix

### Update
* A sentence describing each udpate
* A sentence describing each update

### New
* A sentence describing each new feature
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ These labels are not visible elements. They are utilized by assistive technology

----------------------------
<a href="https://community.adaptlearning.org/" target="_blank"><img src="https://github.com/adaptlearning/documentation/blob/master/04_wiki_assets/plug-ins/images/adapt-logo-mrgn-lft.jpg" alt="adapt learning logo" align="right"></a>
**Author / maintainer:** Adapt Core Team with [contributors](https://github.com/adaptlearning/adapt-contrib-hotgraphic/graphs/contributors)
**Accessibility support:** WAI AA
**RTL support:** Yes
**Cross-platform coverage:** Chrome, Chrome for Android, Firefox (ESR + latest version), Edge, Safari 14 for macOS/iOS/iPadOS, Opera
**Author / maintainer:** Adapt Core Team with [contributors](https://github.com/adaptlearning/adapt-contrib-hotgraphic/graphs/contributors)<br>
**Accessibility support:** WAI AA<br>
**RTL support:** Yes<br>
**Cross-platform coverage:** Chrome, Chrome for Android, Firefox (ESR + latest version), Edge, Safari 14 for macOS/iOS/iPadOS, Opera<br>
3 changes: 2 additions & 1 deletion templates/hotgraphicLayoutPins.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ export default function HotgraphicLayoutPins(props) {
_graphic._classes,
_isVisited && 'is-visited',
_pin.src && 'has-pin-image',
_pinOffsetOrigin && `offset-origin`
_useNumberedPins && 'is-numbered-pin',
_pinOffsetOrigin && 'offset-origin'
])}
data-index={_index}
onClick={onPinClicked}
Expand Down

0 comments on commit f572710

Please sign in to comment.