Merge pull request #674 from keyboardio/ActiveModColor/on-boot-scan

ActiveModColor: Cache the list of modifiers at setup time too
pull/675/head
Jesse Vincent 5 years ago committed by GitHub
commit a050223d40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -37,6 +37,9 @@ class ActiveModColorEffect : public kaleidoscope::Plugin {
EventHandlerResult beforeReportingState(); EventHandlerResult beforeReportingState();
EventHandlerResult onLayerChange(); EventHandlerResult onLayerChange();
EventHandlerResult onSetup() {
return onLayerChange();
}
private: private:
static bool highlight_normal_modifiers_; static bool highlight_normal_modifiers_;

Loading…
Cancel
Save