private void ItemShowContextClicked(object sender, EventArgs e)
        {
            int currSelected = Host.GetSelectedIdFromItemsControl();

            if (currSelected <= -1)
            {
                return;
            }

            _multiEditorControl?.SelectDrawTile((ushort)currSelected);
        }
示例#2
0
        private void ItemShowContextClicked(object sender, EventArgs e)
        {
            int currSelected = Options.DesignAlternative
                ? Host.GetSelectedItemShowAlternative()
                : Host.GetSelectedItemShow();

            if (currSelected <= -1)
            {
                return;
            }

            _multiEditorControl?.SelectDrawTile((ushort)currSelected);
        }