mirror of
https://github.com/tuxdotrs/highminded.git
synced 2025-08-22 23:51:03 +05:30
feat: disable context menu and text selection
This commit is contained in:
@@ -4,11 +4,12 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="highminded.ui.controls.ChatUserControl">
|
||||
|
||||
<Grid RowDefinitions="*,Auto" Margin="15" RowSpacing="10">
|
||||
<HtmlPanel Grid.Row="0" Name="ResultBlock" BaseStylesheet="* { font: Inter; color: white; }" />
|
||||
<TextBox Grid.Row="1" Name="PromptBox" CornerRadius="5" TextWrapping="Wrap"
|
||||
KeyDown="PromptBox_OnKeyDown" />
|
||||
</Grid>
|
||||
|
||||
</UserControl>
|
||||
|
||||
<Grid RowDefinitions="*,Auto" Margin="15" RowSpacing="10">
|
||||
<HtmlPanel Grid.Row="0" Name="ResultBlock" BaseStylesheet="* { font: Inter; color: white; }"
|
||||
IsContextMenuEnabled="False" IsSelectionEnabled="False" />
|
||||
<TextBox Grid.Row="1" Name="PromptBox" CornerRadius="5" TextWrapping="Wrap"
|
||||
KeyDown="PromptBox_OnKeyDown" />
|
||||
</Grid>
|
||||
|
||||
</UserControl>
|
Reference in New Issue
Block a user