Vidka.Core.EditorLogic.___UiTransactionEnd C# (CSharp) Method

___UiTransactionEnd() private method

Call this at the end of every method that potentially changes the state of UI
private ___UiTransactionEnd ( ) : void
return void
        private void ___UiTransactionEnd()
        {
            if (needToChangeCanvasWidth.HasValue) {
                shitbox.UpdateCanvasWidth(needToChangeCanvasWidth.Value);
                ___Ui_stateChanged();
            }
            if (needToChangeScrollX.HasValue) {
                shitbox.UpdateCanvasHorizontalScroll(needToChangeScrollX.Value);
                ___Ui_stateChanged();
            }
            if (UiObjects.DidSomethingChange())
                shitbox.PleaseRepaint();
            if (UiObjects.DidSomethingChange_originalTimeline())
                Fire_PleaseSetPlayerAbsPosition((UiObjects.CurrentClip != null)
                    ? PreviewPlayerAbsoluteLocation.BottomRight
                    : PreviewPlayerAbsoluteLocation.TopRight);
        }
EditorLogic