mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 01:36:31 +02:00
ZoomIt smooth image zooming (#42200)
Added smooth image option that results in GDI+ image smoothing for static zoom and Magnifier API image smoothing for live zoom. --------- Co-authored-by: Mark Russinovich <markruss@ntdev.microsoft.com> Co-authored-by: Clint Rutkas <clint@rutkas.com> Co-authored-by: Niels Laute <niels.laute@live.nl>
This commit is contained in:
@@ -197,6 +197,20 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
public bool SmoothImage
|
||||
{
|
||||
get => _zoomItSettings.Properties.SmoothImage.Value;
|
||||
set
|
||||
{
|
||||
if (_zoomItSettings.Properties.SmoothImage.Value != value)
|
||||
{
|
||||
_zoomItSettings.Properties.SmoothImage.Value = value;
|
||||
OnPropertyChanged(nameof(SmoothImage));
|
||||
NotifySettingsChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int ZoominSliderLevel
|
||||
{
|
||||
get => _zoomItSettings.Properties.ZoominSliderLevel.Value;
|
||||
|
||||
Reference in New Issue
Block a user