Fix for profile-screen.
This commit is contained in:
1 parent
f005ba1376
commit
d6d29d5334
2 files changed
+12
-19
No files matched your search
@@ -697,7 +697,7 @@
|
||||
<SkinSelected>Button</SkinSelected>
|
||||
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
|
||||
<X>300</X>
|
||||
<Y>210</Y>
|
||||
<Y>205</Y>
|
||||
<Z>0,00</Z>
|
||||
<W>150</W>
|
||||
<H>50</H>
|
||||
@@ -735,17 +735,9 @@
|
||||
<!--<Reflection> If exists:-->
|
||||
<!-- <Space>: Reflection Space-->
|
||||
<!-- <Height>: Reflection Height-->
|
||||
<Reflection>
|
||||
<Space>10</Space>
|
||||
<Height>26</Height>
|
||||
</Reflection>
|
||||
<!--<SReflection> If exists:-->
|
||||
<!-- <Space>: Reflection Space of selected button-->
|
||||
<!-- <Height>: Reflection Height of selected button-->
|
||||
<SReflection>
|
||||
<Space>10</Space>
|
||||
<Height>26</Height>
|
||||
</SReflection>
|
||||
</ButtonSaveSnapshot>
|
||||
<ButtonDiscardSnapshot>
|
||||
<!--<Skin>: Texture name-->
|
||||
@@ -754,7 +746,7 @@
|
||||
<SkinSelected>Button</SkinSelected>
|
||||
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
|
||||
<X>300</X>
|
||||
<Y>110</Y>
|
||||
<Y>125</Y>
|
||||
<Z>0,00</Z>
|
||||
<W>150</W>
|
||||
<H>50</H>
|
||||
@@ -792,17 +784,9 @@
|
||||
<!--<Reflection> If exists:-->
|
||||
<!-- <Space>: Reflection Space-->
|
||||
<!-- <Height>: Reflection Height-->
|
||||
<Reflection>
|
||||
<Space>10</Space>
|
||||
<Height>26</Height>
|
||||
</Reflection>
|
||||
<!--<SReflection> If exists:-->
|
||||
<!-- <Space>: Reflection Space of selected button-->
|
||||
<!-- <Height>: Reflection Height of selected button-->
|
||||
<SReflection>
|
||||
<Space>10</Space>
|
||||
<Height>26</Height>
|
||||
</SReflection>
|
||||
</ButtonDiscardSnapshot>
|
||||
<SelectSlideProfiles>
|
||||
<!--<Skin>: Texture name-->
|
||||
@@ -1130,4 +1114,4 @@
|
||||
<NumVisible>2</NumVisible>
|
||||
</SelectSlideActive>
|
||||
</ScreenProfiles>
|
||||
</root>
|
||||
</root>
|
||||
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user