File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Samples/Islands/DrawingIsland/DrawingIslandComponents Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -766,14 +766,14 @@ namespace winrt::DrawingIslandComponents::implementation
766
766
m_output.HalfTransparentColorBrushes [i] = m_output.Compositor .CreateColorBrush (halfTransparent);
767
767
}
768
768
769
- m_items.CurrentColorVisual = m_output.Compositor .CreateSpriteVisual ();
770
- m_items.CurrentColorVisual .Offset ({0 .0f , 0 .0f , 0 .0f });
771
- m_background.Visual .Children ().InsertAtTop (m_items.CurrentColorVisual );
772
-
773
769
winrt::ContainerVisual drawingVisualsRoot = m_output.Compositor .CreateContainerVisual ();
774
770
m_items.Visuals = drawingVisualsRoot.Children ();
775
771
m_background.Visual .Children ().InsertAtTop (drawingVisualsRoot);
776
772
773
+ m_items.CurrentColorVisual = m_output.Compositor .CreateSpriteVisual ();
774
+ m_items.CurrentColorVisual .Offset ({0 .0f , 0 .0f , 0 .0f });
775
+ m_background.Visual .Children ().InsertAtTop (m_items.CurrentColorVisual );
776
+
777
777
SystemBackdrop_EvaluateUsage ();
778
778
779
779
Output_UpdateCurrentColorVisual ();
You can’t perform that action at this time.
0 commit comments