small fix
This commit is contained in:
@@ -42,10 +42,10 @@ bool FlippR_Driver::Input::DistributingEvent::is_bouncing()
|
|||||||
|
|
||||||
void FlippR_Driver::Input::DistributingEvent::inactive()
|
void FlippR_Driver::Input::DistributingEvent::inactive()
|
||||||
{
|
{
|
||||||
if(activation_state == 2)
|
if(activation_state == ACTIVATED)
|
||||||
{
|
{
|
||||||
this->last_activation = std::chrono::high_resolution_clock::now();
|
this->last_activation = std::chrono::high_resolution_clock::now();
|
||||||
activation_state = ActivationState::NOT_ACTIVATED;
|
activation_state = NOT_ACTIVATED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user