This commit is contained in:
Pankaj Bhojwani 2021-07-29 10:57:19 -07:00
parent e7d8fdb154
commit 59cf2a6d4a

View file

@ -76,7 +76,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
auto spotLight{ Window::Current().Compositor().CreateSpotLight() };
spotLight.InnerConeColor(Windows::UI::Colors::White());
spotLight.InnerConeAngleInDegrees(10);
spotLight.OuterConeAngleInDegrees(10);
spotLight.OuterConeAngleInDegrees(25);
spotLight.Offset({ xCoord, yCoord, 100 });
CompositionLight(spotLight);
}
@ -93,7 +93,6 @@ namespace winrt::Microsoft::Terminal::Control::implementation
{
auto spotLight{ Window::Current().Compositor().CreateSpotLight() };
spotLight.InnerConeColor(Windows::UI::Colors::White());
spotLight.OuterConeColor(Windows::UI::Colors::White());
spotLight.InnerConeAngleInDegrees(10);
spotLight.OuterConeAngleInDegrees(25);
CompositionLight(spotLight);