Skip to content

Commit daa0738

Browse files
committed
Add selection to documentation control
1 parent a401038 commit daa0738

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ScriptRunner/ScriptRunner.GUI/ScriptRunner.GUI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<PackageReference Include="DynamicData" Version="9.0.4" />
4848
<PackageReference Include="LibGit2Sharp" Version="0.26.2" />
4949
<PackageReference Include="LoadingIndicators.Avalonia" Version="11.0.11.1" />
50-
<PackageReference Include="Markdown.Avalonia" Version="11.0.2" />
50+
<PackageReference Include="Markdown.Avalonia" Version="11.0.3-a1" />
5151
<PackageReference Include="MessageBox.Avalonia" Version="3.1.5.1" />
5252
<PackageReference Include="Microsoft.AspNetCore.DataProtection" Version="6.0.10" />
5353
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="8.0.5" />

src/ScriptRunner/ScriptRunner.GUI/Views/ActionDetailsSection.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
<TabControl SelectedIndex="{}">
145145
<TabItem IsVisible="{Binding SelectedAction.HasDocs}" Header="Documentation">
146146
<Border Grid.Column="1" Background="#1f1f1f" IsVisible="{Binding SelectedAction.HasDocs}" >
147-
<mdxaml:MarkdownScrollViewer xml:space="default" Margin="20" Markdown="{Binding SelectedAction.DocsContent}" AssetPathRoot="{Binding SelectedAction.DocAssetPath}">
147+
<mdxaml:MarkdownScrollViewer xml:space="default" SelectionEnabled="True" Margin="20" Markdown="{Binding SelectedAction.DocsContent}" AssetPathRoot="{Binding SelectedAction.DocAssetPath}">
148148
<mdxaml:MarkdownScrollViewer.Styles>
149149
<Style Selector="ctxt|CTextBlock">
150150
<Setter Property="Foreground" Value="#C3C3C3"/>

0 commit comments

Comments
 (0)