cgkineo / adapt-toc

An extension that provides a drawer-based table of contents
GNU General Public License v3.0
3 stars 2 forks source link

Add support for selected state #20

Closed guywillis closed 6 months ago

guywillis commented 6 months ago

Subject of the enhancement

For sequentially locked courses the ToC drawer visual is a touch unintuitive as there isn't an active, or selected, state. In this scenario all items are disabled with the current active page the only one not to have a padlock icon.

Perhaps it could utilise the pre existing drawer selected colour variables - https://github.com/adaptlearning/adapt-contrib-vanilla/blob/1d90e97fbafc75a095a6291073d0c31b3fd659ec/less/_defaults/_colors.less#L170

Your environment

github-actions[bot] commented 6 months ago

:tada: This issue has been resolved in version 1.2.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: