Ejemplo n.º 1
0
 private void AttachToBrowser(Browser browser)
 {
     AttachedBrowser = browser;
     _Interop        = new FaydeInterop(AttachedBrowser);
     PerformanceViewModel.JsContext = _Interop;
     TimelineViewModel.JsContext    = _Interop;
     RefreshDPs();
     RefreshTree();
     PerformanceViewModel.Update();
     TimelineViewModel.Update();
     //_Interop.PopulateProperties(RootLayers[0]);
     StartTimer();
 }
Ejemplo n.º 2
0
        private void _Timer_Tick(object sender, EventArgs e)
        {
            RefreshDPs();
            RefreshTree();
            var allVisuals = RootLayers
                             .SelectMany(l => l.AllChildren)
                             .Concat(RootLayers)
                             .ToList();

            //RefreshThisVisual(allVisuals);
            RefreshHitTestVisuals(allVisuals);
            PerformanceViewModel.Update();
            TimelineViewModel.Update();
            UpdateSelectedVisual();
        }