mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
[DevFiles]Update Monaco dependency to 0.47, new sticky scroll setting (#32410)
* Update Monaco dependency to 0.47 * Add setting to enable/disable it and add Peek support * Fix Xaml styling
This commit is contained in:
committed by
GitHub
parent
af5293cfb4
commit
05249ac432
@@ -173,6 +173,20 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
public bool SourceCodeStickyScroll
|
||||
{
|
||||
get => _peekPreviewSettings.SourceCodeStickyScroll.Value;
|
||||
set
|
||||
{
|
||||
if (_peekPreviewSettings.SourceCodeStickyScroll.Value != value)
|
||||
{
|
||||
_peekPreviewSettings.SourceCodeStickyScroll.Value = value;
|
||||
OnPropertyChanged(nameof(SourceCodeStickyScroll));
|
||||
SavePreviewSettings();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void NotifySettingsChanged()
|
||||
{
|
||||
// Using InvariantCulture as this is an IPC message
|
||||
|
||||
Reference in New Issue
Block a user