microsoft / WinUI-Gallery

This app demonstrates the controls available in WinUI and the Fluent Design System.
MIT License
2.77k stars 624 forks source link

Fix: A potential bug in Win32WindowHelper.cs #1564

Closed Paper-Scallion closed 2 months ago

Paper-Scallion commented 3 months ago

Modify the code to avoid potential problems(in 'WinUIGallery/Helper/Win32WindowHelper.cs')

Description

max may have been incorrectly written as min in the code

Motivation and Context

By analyzing the code, it can be inferred that there might be a problem here.

How Has This Been Tested?

Manual test

Screenshots (if appropriate):

Types of changes

karkarl commented 2 months ago

/azp run