mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +00:00
Fix formatting
This commit is contained in:
@@ -712,29 +712,32 @@ namespace CefSharp.Wpf
|
||||
|
||||
if (Keyboard.IsKeyDown(Key.LeftCtrl))
|
||||
{
|
||||
modifiers |= CefEventFlags.ControlDown | CefEventFlags.IsLeft;
|
||||
modifiers |= CefEventFlags.ControlDown | CefEventFlags.IsLeft;
|
||||
}
|
||||
|
||||
if (Keyboard.IsKeyDown(Key.RightCtrl))
|
||||
{
|
||||
modifiers |= CefEventFlags.ControlDown | CefEventFlags.IsRight;
|
||||
modifiers |= CefEventFlags.ControlDown | CefEventFlags.IsRight;
|
||||
}
|
||||
|
||||
if (Keyboard.IsKeyDown(Key.LeftShift))
|
||||
{
|
||||
modifiers |= CefEventFlags.ShiftDown | CefEventFlags.IsLeft;
|
||||
modifiers |= CefEventFlags.ShiftDown | CefEventFlags.IsLeft;
|
||||
}
|
||||
|
||||
if (Keyboard.IsKeyDown(Key.RightShift)) {
|
||||
modifiers |= CefEventFlags.ShiftDown | CefEventFlags.IsRight;
|
||||
if (Keyboard.IsKeyDown(Key.RightShift))
|
||||
{
|
||||
modifiers |= CefEventFlags.ShiftDown | CefEventFlags.IsRight;
|
||||
}
|
||||
|
||||
if (Keyboard.IsKeyDown(Key.LeftAlt)) {
|
||||
modifiers |= CefEventFlags.AltDown| CefEventFlags.IsLeft;
|
||||
if (Keyboard.IsKeyDown(Key.LeftAlt))
|
||||
{
|
||||
modifiers |= CefEventFlags.AltDown| CefEventFlags.IsLeft;
|
||||
}
|
||||
|
||||
if (Keyboard.IsKeyDown(Key.RightAlt)) {
|
||||
modifiers |= CefEventFlags.AltDown | CefEventFlags.IsRight;
|
||||
if (Keyboard.IsKeyDown(Key.RightAlt))
|
||||
{
|
||||
modifiers |= CefEventFlags.AltDown | CefEventFlags.IsRight;
|
||||
}
|
||||
|
||||
return modifiers;
|
||||
|
||||
Reference in New Issue
Block a user