mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
[FancyZones] Remove "keep windows pinned to virtual desktop location" settings (#3093)
* Remove keep windows pinned to virtual desktop location FancyZones settings * Remove virtual desktop switch handling for this scenario.
This commit is contained in:
@@ -176,24 +176,6 @@ namespace ViewModelTests
|
||||
viewModel.ZoneSetChangeMoveWindows = true;
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void VirtualDesktopChangeMoveWindows_ShouldSetValue2True_WhenSuccessful()
|
||||
{
|
||||
// arrange
|
||||
FancyZonesViewModel viewModel = new FancyZonesViewModel();
|
||||
Assert.IsFalse(viewModel.VirtualDesktopChangeMoveWindows); // check if value was initialized to false.
|
||||
|
||||
// Assert
|
||||
ShellPage.DefaultSndMSGCallback = msg =>
|
||||
{
|
||||
FancyZonesSettingsIPCMessage snd = JsonSerializer.Deserialize<FancyZonesSettingsIPCMessage>(msg);
|
||||
Assert.IsTrue(snd.Powertoys.FancyZones.Properties.FancyzonesVirtualDesktopChangeMoveWindows.Value);
|
||||
};
|
||||
|
||||
// act
|
||||
viewModel.VirtualDesktopChangeMoveWindows = true;
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void AppLastZoneMoveWindows_ShouldSetValue2True_WhenSuccessful()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user