We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b6fc5c commit adb83fdCopy full SHA for adb83fd
src/dev/impl/DevToys/UI/Controls/CodeEditor.xaml.cs
@@ -90,7 +90,7 @@ public static readonly DependencyProperty CanCopyWhenNotReadOnlyProperty
90
nameof(CanCopyWhenNotReadOnly),
91
typeof(bool),
92
typeof(CodeEditor),
93
- new PropertyMetadata(false, OnIsReadOnlyPropertyChangedCalled));
+ new PropertyMetadata(false, (d, e) => { ((CodeEditor)d).UpdateUI(); }));
94
95
public bool CanCopyWhenNotReadOnly
96
{
0 commit comments