Update comment based on suggestion

Co-authored-by: Kyle Neideck <kyle@bearisdriving.com>
This commit is contained in:
Marcus Wu 2021-03-23 12:09:29 -04:00 committed by GitHub
parent ce56a96829
commit d9a22d1b62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,7 +184,7 @@ static NSString* const kMoreAppsMenuTitle = @"More Apps";
}
for (NSView* subview in item.view.subviews) {
// Get the volume.
// Set the volume.
if (volumeAndPan.volume != -1 && [subview isKindOfClass:[BGMAVM_VolumeSlider class]]) {
[(BGMAVM_VolumeSlider*)subview setRelativeVolume:volumeAndPan.volume];
}
@ -520,4 +520,3 @@ static NSString* const kMoreAppsMenuTitle = @"More Apps";
}
@end