Home > B.B.S. / Reload

B.B.S. 掲示板


3290 Re: Tree Style Tab : Suggestion to Always Show Sound Icon

  • Name: Piro
  • Date: 2021/06/01 16:48
  • Re: 3289

Would you please add an option to always show the sound icon for every tab?

Sorry this is not easy for now. You can show the sound button for all tabs with a user style like:

   tab-item:not(.collapsed) tab-sound-button {
     display: inline-block;
   tab-item:not(.muted):not(.has-muted-member) tab-sound-button::before,
   tab-item:not(.muted):not(.has-muted-member) tab-sound-button::after,
   tab-item:not(.muted):not(.subtree-collapsed) tab-sound-button::before,
   tab-item:not(.muted):not(.subtree-collapsed) tab-sound-button::after {
     mask-image: url("/sidebar/styles/icons/audio-16.svg");

it is available just around appearance, but clicked button won't work if the tab is actually not sound-playing. This is because the button is not designed to be clicked when both sound-playing and muted states are false. Thus I've done some changes with commits https://github.com/piroor/treestyletab/commit/27f391de7cca6db70a144efcce6151911bb09332 , https://github.com/piroor/treestyletab/commit/8661502a9312a4022b8b57d1423b90f387acb4b4 and https://github.com/piroor/treestyletab/commit/119903c38f9e2b6976663a36cf97920eed94c8c6 . At the next version, sound buttons shown with user styles above will work even if the tab is not sound-playing.

Last modified: unknown