[Screen Ruler] Close on left click and attribution adjustment (#20163)

* [Screen Ruler] end measure mode sessions on left click

* [Screen Ruler] move attribution to a separate section

* spelling
This commit is contained in:
Andrey Nekrasov
2022-08-30 15:39:21 +03:00
committed by GitHub
parent 311a4dbae9
commit 49a6359990
6 changed files with 21 additions and 24 deletions

View File

@@ -103,6 +103,7 @@ LRESULT CALLBACK MeasureToolWndProc(HWND window, UINT message, WPARAM wparam, LP
SetClipBoardToText(text.buffer);
}); });
}
PostMessageW(window, WM_CLOSE, {}, {});
break;
case WM_MOUSEWHEEL:
if (auto state = GetWindowParam<Serialized<MeasureToolState>*>(window))