Skip to content

Commit

Permalink
Fix mouse input.
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkomandy committed May 30, 2020
1 parent b17751e commit e9aac3d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/TVolumenob.cpp
Expand Up @@ -121,6 +121,9 @@ void TVolumenob::MessageReceived(BMessage* message){
case 'mada':
HandleMouse();
break;

default:
BControl::MessageReceived(message);
}


Expand All @@ -147,4 +150,4 @@ int32 TVolumenob::GetValue(float t){
v=(int32)((218-t)/2-1);
return v;

}
}

0 comments on commit e9aac3d

Please sign in to comment.