From e88583f3b1af770ed513600733b284a8990b3721 Mon Sep 17 00:00:00 2001 From: Giuseppe Barbieri Date: Tue, 27 Jun 2023 13:12:59 +0200 Subject: [PATCH] minors --- core/src/main/kotlin/imgui/internal/api/newFrame.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/kotlin/imgui/internal/api/newFrame.kt b/core/src/main/kotlin/imgui/internal/api/newFrame.kt index ca307d4e4..d7076b5ae 100644 --- a/core/src/main/kotlin/imgui/internal/api/newFrame.kt +++ b/core/src/main/kotlin/imgui/internal/api/newFrame.kt @@ -316,7 +316,7 @@ internal interface newFrame { } is InputEvent.MouseButton -> IMGUI_DEBUG_LOG_IO("[io] $prefix: MouseButton ${e.button.i} ${if (e.down) "Down" else "Up"} (${e.mouseSource.name.substringAfter('_')})") is InputEvent.MouseWheel -> IMGUI_DEBUG_LOG_IO("[io] $prefix: MouseWheel (%.3f, %.3f) (${e.mouseSource.name.substringAfter('_')})", e.wheelX, e.wheelY) - is InputEvent.Key -> IMGUI_DEBUG_LOG_IO("[io] $prefix: Key \"${e.key.name}\" ${if (e.down) "Down" else "Up"}") + is InputEvent.Key -> IMGUI_DEBUG_LOG_IO("[io] $prefix: Key \"${e.key.name.substringAfter('_')}\" ${if (e.down) "Down" else "Up"}") is InputEvent.Text -> IMGUI_DEBUG_LOG_IO("[io] $prefix: Text: ${e.char} (U+%08X)", e.char.code) is InputEvent.AppFocused -> IMGUI_DEBUG_LOG_IO("[io] $prefix: AppFocused ${e.focused.i}") }