Example #1
0
        void OutlinePanel_RaiseFirstResponder(object sender, FigmaNode e)
        {
            codeRenderer.Clear();
            currentSelectedNode = e;
            var builder = new StringBuilder();
            var options = new CodeRenderServiceOptions()
            {
                TranslateLabels = openUrlButton.State == NSCellStateValue.On
            };

            codeRenderer.GetCode(builder, new CodeNode(e, null), null, options);
            CopyToLogView(builder.ToString());
        }