Skip to content

2.3.2

Compare
Choose a tag to compare
@mclemente mclemente released this 03 Oct 19:52
· 246 commits to master since this release
  • D&D5e and PF2e: Added a Targeted Group/Party setting for both systems to help filter users in worlds with 10+ users (#321).
    • If you are using another system that has a similar group actor, let me know.
  • Fixed messages sent by chat commands from modules like Cautious Gamemaster's Pack and Narrator Tools being affected by the module (e.g. /desc, /narrate, etc) (#305).
  • Fixed the selector not changing its default value to the set Default Language (#320).
  • Fixed the Default Language setting showing up on the both the Game Settings and Polyglot's General Settings window.

From 2.3

  • Added Select2.
    • The Language Selector now shows a language's speakers inside the box and in the dropdown menu.
    • It comes with a search bar.
  • API: Changed the way the default provider is set to guarantee that a registered provider (system > module) is the default.

Styling

Since this introduces a whole new CSS styling, here's some new styles to target:

Selector

  • Selector: .polyglot-lang-select span.select2-selection
  • Selector's margin: .polyglot-lang-select > span.select2-container
  • Selector's line-height or color: .polyglot-lang-select .select2-container--default .select2-selection--single .select2-selection__rendered
  • Selector's arrow color: .polyglot-lang-select .select2-container--default .select2-selection--single .select2-selection__arrow b

Dropdown

  • Dropdown's color: .select2-dropdown.polyglot-language
  • Dropdown's selected color: .select2-dropdown.polyglot-language .select2-results__option--selected
  • Dropdown's highlighted color: .select2-dropdown.polyglot-language .select2-results__option.select2-results__option--highlighted