diff --git a/Output/Themes/Ambient/Screens/ScreenProfiles.xml b/Output/Themes/Ambient/Screens/ScreenProfiles.xml
index 06cf67ca..9e161ea7 100644
--- a/Output/Themes/Ambient/Screens/ScreenProfiles.xml
+++ b/Output/Themes/Ambient/Screens/ScreenProfiles.xml
@@ -697,7 +697,7 @@
Button
300
- 210
+ 205
0,00
150
50
@@ -735,17 +735,9 @@
-
- 10
- 26
-
-
- 10
- 26
-
@@ -754,7 +746,7 @@
Button
300
- 110
+ 125
0,00
150
50
@@ -792,17 +784,9 @@
-
- 10
- 26
-
-
- 10
- 26
-
@@ -1130,4 +1114,4 @@
2
-
\ No newline at end of file
+
diff --git a/Vocaluxe/Screens/CScreenProfiles.cs b/Vocaluxe/Screens/CScreenProfiles.cs
index 822ebc5f..ba280fd0 100644
--- a/Vocaluxe/Screens/CScreenProfiles.cs
+++ b/Vocaluxe/Screens/CScreenProfiles.cs
@@ -206,6 +206,8 @@ namespace Vocaluxe.Screens
{
CProfiles.SetAvatar(SelectSlides[htSelectSlides(SelectSlideProfiles)].Selection,
SelectSlides[htSelectSlides(SelectSlideAvatars)].Selection);
+ if (CWebcam.GetDevices().Length > 0 && _WebcamTexture.index > 0)
+ OnDiscardSnapshot();
} else if (SelectSlides[htSelectSlides(SelectSlideGuestProfile)].Selected)
{
CProfiles.SetGuestProfile(SelectSlides[htSelectSlides(SelectSlideProfiles)].Selection,
@@ -339,6 +341,13 @@ namespace Vocaluxe.Screens
UpdateGame();
}
+ public override void OnClose()
+ {
+ base.OnClose();
+
+ OnDiscardSnapshot();
+ }
+
public override bool Draw()
{
return base.Draw();