Commit Graph
2 Commits
Author SHA1 Message Date
omicron e55f139fca Activate indicators when they are set while the trigger is active
This fixes an issue where inverted triggers would not immediately activate the
indicator when they are created
2023-04-07 10:15:51 +02:00
omicron 8c4cc405aa Move ivert logic and trigger logic into Trigger
The base Trigger class is now responsible for inverting the trigger
state and also for signaling trigger activation to the target/indicator.

In addition the following non-function changes also occured:
 - The triggers moved into their own directory
 - The trigger code has been annotated to help lua-language-server
   deduce type information
 - AuraTrigger was moved into its own file

All these changes should make future development of other triggers easier
2023-04-04 06:40:29 +02:00