[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:
Taras
2022-12-05 00:28:05 +02:00
committed by GitHub
parent ec0fb6a4c7
commit 3afa124bea
3 changed files with 12 additions and 9 deletions

View File

@@ -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
{