Browse Source
`Imm32InputMethod.HandleComposition` no longer ignores IME cancel(`lParam` = 0) (#18034)
pull/18049/head
ちーず(・8・)けーき
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
0 deletions
-
src/Windows/Avalonia.Win32/Input/Imm32InputMethod.cs
|
|
|
@ -372,6 +372,11 @@ namespace Avalonia.Win32.Input |
|
|
|
} |
|
|
|
|
|
|
|
var flags = (GCS)ToInt32(lParam); |
|
|
|
|
|
|
|
if (flags == 0) |
|
|
|
{ |
|
|
|
CompositionChanged(""); |
|
|
|
} |
|
|
|
|
|
|
|
if ((flags & GCS.GCS_RESULTSTR) != 0) |
|
|
|
{ |
|
|
|
|