Example #1
0
        /// <summary>
        /// Calls for enter or exit drawing Overlays mode
        /// </summary>
        public override void ExecuteActionSpecific()
        {
            RaisePropertyChanged(nameof(HasActiveChildActions));

            if (IsActive || NodeType == NodeType.ChildExecuteAlways)
            {
                _uiModeService.EnterMode(UiMode, SubUiMode);
            }
            else
            {
                _uiModeService.ExitMode(UiMode);
            }
        }
Example #2
0
 public void ExitUIMode(UiMode guiMode)
 {
     _uiModeModel.ExitMode(guiMode);
 }