mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-19 15:03:36 +08:00
[MWB]Hide cursor when positioning to the top of screen (#26447)
This commit is contained in:
parent
0c69e3422c
commit
4905258c94
@ -923,7 +923,9 @@ namespace MouseWithoutBorders.Class
|
||||
}
|
||||
}
|
||||
|
||||
internal bool StealFocusWhenSwitchingMachine => _properties.StealFocusWhenSwitchingMachine;
|
||||
// Was a value read from registry on original Mouse Without Border, but default should be true. We wrongly released it as false, so we're forcing true here.
|
||||
// This value wasn't changeable from UI, anyway.
|
||||
internal bool StealFocusWhenSwitchingMachine => true;
|
||||
|
||||
private string deviceId;
|
||||
|
||||
|
@ -107,9 +107,6 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
[JsonConverter(typeof(BoolPropertyJsonConverter))]
|
||||
public bool FirstCtrlShiftS { get; set; }
|
||||
|
||||
[JsonConverter(typeof(BoolPropertyJsonConverter))]
|
||||
public bool StealFocusWhenSwitchingMachine { get; set; }
|
||||
|
||||
public StringProperty DeviceID { get; set; }
|
||||
|
||||
public MouseWithoutBordersProperties()
|
||||
@ -151,7 +148,6 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
Name2IP = new StringProperty(string.Empty);
|
||||
UseVKMap = false;
|
||||
FirstCtrlShiftS = false;
|
||||
StealFocusWhenSwitchingMachine = false;
|
||||
}
|
||||
|
||||
public object Clone()
|
||||
|
Loading…
Reference in New Issue
Block a user