mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 10:16:24 +02:00
[Monaco]Make minimap toggleable (#33742)
This commit is contained in:
@@ -202,6 +202,20 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
public bool SourceCodeMinimap
|
||||
{
|
||||
get => _peekPreviewSettings.SourceCodeMinimap.Value;
|
||||
set
|
||||
{
|
||||
if (_peekPreviewSettings.SourceCodeMinimap.Value != value)
|
||||
{
|
||||
_peekPreviewSettings.SourceCodeMinimap.Value = value;
|
||||
OnPropertyChanged(nameof(SourceCodeMinimap));
|
||||
SavePreviewSettings();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void NotifySettingsChanged()
|
||||
{
|
||||
// Using InvariantCulture as this is an IPC message
|
||||
|
||||
Reference in New Issue
Block a user