mirror of
https://github.com/tuxdotrs/highminded.git
synced 2025-08-23 08:01:03 +05:30
feat: disable context menu and text selection
This commit is contained in:
@@ -6,7 +6,8 @@
|
|||||||
x:Class="highminded.ui.controls.ChatUserControl">
|
x:Class="highminded.ui.controls.ChatUserControl">
|
||||||
|
|
||||||
<Grid RowDefinitions="*,Auto" Margin="15" RowSpacing="10">
|
<Grid RowDefinitions="*,Auto" Margin="15" RowSpacing="10">
|
||||||
<HtmlPanel Grid.Row="0" Name="ResultBlock" BaseStylesheet="* { font: Inter; color: white; }" />
|
<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"
|
<TextBox Grid.Row="1" Name="PromptBox" CornerRadius="5" TextWrapping="Wrap"
|
||||||
KeyDown="PromptBox_OnKeyDown" />
|
KeyDown="PromptBox_OnKeyDown" />
|
||||||
</Grid>
|
</Grid>
|
||||||
|
Reference in New Issue
Block a user