From 63539252a3cfd5152f1e89aaf05995f4d76c4342 Mon Sep 17 00:00:00 2001 From: Benedikt Stebner Date: Tue, 9 Aug 2022 06:29:37 +0200 Subject: [PATCH] Cleanup --- samples/Sandbox/MainWindow.axaml | 6 +----- src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/samples/Sandbox/MainWindow.axaml b/samples/Sandbox/MainWindow.axaml index 20d7a53a11..43d93a9315 100644 --- a/samples/Sandbox/MainWindow.axaml +++ b/samples/Sandbox/MainWindow.axaml @@ -1,9 +1,5 @@ - - - - - + diff --git a/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs b/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs index 9022bc4179..f8785371d9 100644 --- a/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs +++ b/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs @@ -674,7 +674,6 @@ namespace Avalonia.Win32 case WindowsMessage.WM_IME_STARTCOMPOSITION: Imm32InputMethod.Current.IsComposing = true; return IntPtr.Zero; - break; case WindowsMessage.WM_IME_ENDCOMPOSITION: Imm32InputMethod.Current.IsComposing = false; break;