windows: Fix ctrl-click open hovered URL (#30574)
Closes #30452 Release Notes: - N/A
This commit is contained in:
@@ -42,6 +42,7 @@ pub struct WindowsWindowState {
|
||||
|
||||
pub callbacks: Callbacks,
|
||||
pub input_handler: Option<PlatformInputHandler>,
|
||||
pub last_reported_modifiers: Option<Modifiers>,
|
||||
pub system_key_handled: bool,
|
||||
pub hovered: bool,
|
||||
|
||||
@@ -100,6 +101,7 @@ impl WindowsWindowState {
|
||||
let renderer = windows_renderer::init(gpu_context, hwnd, transparent)?;
|
||||
let callbacks = Callbacks::default();
|
||||
let input_handler = None;
|
||||
let last_reported_modifiers = None;
|
||||
let system_key_handled = false;
|
||||
let hovered = false;
|
||||
let click_state = ClickState::new();
|
||||
@@ -118,6 +120,7 @@ impl WindowsWindowState {
|
||||
min_size,
|
||||
callbacks,
|
||||
input_handler,
|
||||
last_reported_modifiers,
|
||||
system_key_handled,
|
||||
hovered,
|
||||
renderer,
|
||||
|
||||
Reference in New Issue
Block a user