mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
[QuickAccent]Fix showing selector window (#22435)
* [Quick Accent] fix showing selector window * Update layout before using size to calculate position * Correct offset issues due to margin * Up the offset to 24, as the margin value removed
This commit is contained in:
@@ -20,7 +20,7 @@ namespace PowerAccent.Core.Tools
|
||||
|
||||
public static Point GetRawCoordinatesFromPosition(Position position, Rect screen, Size window)
|
||||
{
|
||||
int offset = 10;
|
||||
int offset = 24;
|
||||
|
||||
double pointX = position switch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user