mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +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:
@@ -957,6 +957,9 @@
|
||||
<data name="ColorPicker_Editor.Text" xml:space="preserve">
|
||||
<value>Editor</value>
|
||||
</data>
|
||||
<data name="FancyZones_OverlappingZonesClosestCenter.Content" xml:space="preserve">
|
||||
<value>Activate the zone whose center is closest to the cursor</value>
|
||||
</data>
|
||||
<data name="FancyZones_OverlappingZonesLargest.Content" xml:space="preserve">
|
||||
<value>Activate the largest zone by area</value>
|
||||
</data>
|
||||
|
||||
@@ -134,6 +134,7 @@
|
||||
<ComboBoxItem x:Uid="FancyZones_OverlappingZonesSmallest" />
|
||||
<ComboBoxItem x:Uid="FancyZones_OverlappingZonesLargest" />
|
||||
<ComboBoxItem x:Uid="FancyZones_OverlappingZonesPositional" />
|
||||
<ComboBoxItem x:Uid="FancyZones_OverlappingZonesClosestCenter" />
|
||||
</ComboBox>
|
||||
|
||||
<TextBlock x:Uid="FancyZones_WindowBehavior_GroupSettings"
|
||||
|
||||
Reference in New Issue
Block a user