Pressing 'W' has no effect in sing screen if no devices were found
This commit is contained in:
1 parent
0be378605d
commit
02f1811d35
1 file changed
+8
-5
@@ -203,11 +203,14 @@ namespace Vocaluxe.Screens
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case Keys.W:
|
case Keys.W:
|
||||||
_Webcam = !_Webcam;
|
if (CWebcam.GetDevices().Length > 0)
|
||||||
if (_Webcam)
|
{
|
||||||
CWebcam.Start();
|
_Webcam = !_Webcam;
|
||||||
else
|
if (_Webcam)
|
||||||
CWebcam.Stop();
|
CWebcam.Start();
|
||||||
|
else
|
||||||
|
CWebcam.Stop();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Keys.Enter:
|
case Keys.Enter:
|
||||||
|
|||||||
Reference in new issue
Block a user