mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 05:06:36 +02:00
[AlwaysOnTop] Inaccurate border position fix (#16206)
This commit is contained in:
@@ -18,7 +18,7 @@ public:
|
||||
|
||||
void Show();
|
||||
void Hide();
|
||||
void SetBorderRect(RECT windowRect, COLORREF color, float thickness);
|
||||
void SetBorderRect(RECT windowRect, COLORREF color, int thickness);
|
||||
|
||||
private:
|
||||
bool CreateRenderTargets(const RECT& clientRect);
|
||||
@@ -27,7 +27,7 @@ private:
|
||||
{
|
||||
D2D1_RECT_F rect;
|
||||
D2D1_COLOR_F borderColor;
|
||||
float thickness;
|
||||
int thickness;
|
||||
};
|
||||
|
||||
static ID2D1Factory* GetD2DFactory();
|
||||
|
||||
Reference in New Issue
Block a user