Merge pull request #1658 from ogniK5377/holdtype-style

Updated npad styles on holdtype switches
This commit is contained in:
bunnei 2018-11-07 20:59:01 -08:00 committed by GitHub
commit 0e05a9d58f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -392,8 +392,10 @@ std::size_t Controller_NPad::GetSupportedNPadIdTypesSize() const {
} }
void Controller_NPad::SetHoldType(NpadHoldType joy_hold_type) { void Controller_NPad::SetHoldType(NpadHoldType joy_hold_type) {
styleset_changed_event->Signal();
hold_type = joy_hold_type; hold_type = joy_hold_type;
} }
Controller_NPad::NpadHoldType Controller_NPad::GetHoldType() const { Controller_NPad::NpadHoldType Controller_NPad::GetHoldType() const {
return hold_type; return hold_type;
} }