зеркало из https://github.com/AvaloniaUI/angle.git
OSWindow: small fix to the formatting of key event debugging
BUG= Change-Id: I09ab785311ec0fa7f3eecb6484a965378a1fef0d Reviewed-on: https://chromium-review.googlesource.com/285835 Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Родитель
2453dbcb2d
Коммит
b29690a62a
|
@ -153,7 +153,7 @@ static std::string KeyState(const Event::KeyEvent &event)
|
|||
if (event.Shift || event.Control || event.Alt || event.System)
|
||||
{
|
||||
std::ostringstream buffer;
|
||||
buffer <<" [";
|
||||
buffer << " [";
|
||||
|
||||
if (event.Shift)
|
||||
{
|
||||
|
@ -172,6 +172,7 @@ static std::string KeyState(const Event::KeyEvent &event)
|
|||
buffer << "System";
|
||||
}
|
||||
|
||||
buffer << "]";
|
||||
return buffer.str();
|
||||
}
|
||||
return "";
|
||||
|
|
Загрузка…
Ссылка в новой задаче