mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +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
@@ -133,6 +133,23 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
[JsonPropertyName("monaco-previewer-max-file-size")]
|
||||
public IntProperty MonacoPreviewMaxFileSize { get; set; }
|
||||
|
||||
private bool monacoPreviewStickyScroll = true;
|
||||
|
||||
[JsonPropertyName("monaco-previewer-sticky-scroll")]
|
||||
[JsonConverter(typeof(BoolPropertyJsonConverter))]
|
||||
public bool MonacoPreviewStickyScroll
|
||||
{
|
||||
get => monacoPreviewStickyScroll;
|
||||
set
|
||||
{
|
||||
if (value != monacoPreviewStickyScroll)
|
||||
{
|
||||
LogTelemetryEvent(value);
|
||||
monacoPreviewStickyScroll = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private bool enablePdfPreview;
|
||||
|
||||
[JsonPropertyName("pdf-previewer-toggle-setting")]
|
||||
|
||||
Reference in New Issue
Block a user