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
766766 m_output.HalfTransparentColorBrushes [i] = m_output.Compositor .CreateColorBrush (halfTransparent);
767767 }
768768
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-
773769 winrt::ContainerVisual drawingVisualsRoot = m_output.Compositor .CreateContainerVisual ();
774770 m_items.Visuals = drawingVisualsRoot.Children ();
775771 m_background.Visual .Children ().InsertAtTop (drawingVisualsRoot);
776772
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+
777777 SystemBackdrop_EvaluateUsage ();
778778
779779 Output_UpdateCurrentColorVisual ();
You can’t perform that action at this time.
0 commit comments