fix(peipei): 修复未上色目标换目标时未失焦
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -119,6 +119,7 @@ namespace AibisDream
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 换目标时的失焦:只做效果,不眨眼(眨眼仅在想象上色 FadeIn)。
|
/// 换目标时的失焦:只做效果,不眨眼(眨眼仅在想象上色 FadeIn)。
|
||||||
|
/// CanImagineColor 下若颜色已是失焦态,仍需补 BlurIn,否则未上色过的目标会一直保持清晰。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void ApplyUnfocusedEffectSilent(EyeTarget target)
|
private void ApplyUnfocusedEffectSilent(EyeTarget target)
|
||||||
{
|
{
|
||||||
@@ -130,6 +131,7 @@ namespace AibisDream
|
|||||||
if (_currentState == EyeColorState.CanImagineColor
|
if (_currentState == EyeColorState.CanImagineColor
|
||||||
&& target.IsAtUnfocusedColorState(visualSettings))
|
&& target.IsAtUnfocusedColorState(visualSettings))
|
||||||
{
|
{
|
||||||
|
target.BlurIn(GetEffectTransitionDuration());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user