mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
[FanzyZones] Zone activation based on zone center (#11361)
* Started work on algorithm to select the zone with the center closest to the cursor. * Fixed algorithm to compute center of rectangle * Revert to taking the smallest area when the centers are too close (75 pixels). Temporary turned off buffer of window selection to better see how the algorithm is working. * Remove change to sensitivity radius. * Changes in response to SeraphimaZ's comments. * spelling fix Co-authored-by: ulazy1 <ulazy198@gmail.com>
This commit is contained in:
@@ -20,7 +20,8 @@ struct Settings
|
||||
Smallest = 0,
|
||||
Largest = 1,
|
||||
Positional = 2,
|
||||
EnumElements = 3, // number of elements in the enum, not counting this
|
||||
ClosestCenter = 3,
|
||||
EnumElements = 4, // number of elements in the enum, not counting this
|
||||
};
|
||||
|
||||
// The values specified here are the defaults.
|
||||
|
||||
Reference in New Issue
Block a user