windows: Fix scrolling bug (#12431)
Closes #12369 https://github.com/zed-industries/zed/assets/14981363/14df820e-9be3-4b89-882b-a083ea42d59e Release Notes: - N/A
This commit is contained in:
@@ -45,6 +45,7 @@ pub struct WindowsWindowState {
|
||||
pub click_state: ClickState,
|
||||
pub system_settings: WindowsSystemSettings,
|
||||
pub current_cursor: HCURSOR,
|
||||
pub nc_button_pressed: Option<u32>,
|
||||
|
||||
pub display: WindowsDisplay,
|
||||
fullscreen: Option<StyleAndBounds>,
|
||||
@@ -82,6 +83,7 @@ impl WindowsWindowState {
|
||||
let input_handler = None;
|
||||
let click_state = ClickState::new();
|
||||
let system_settings = WindowsSystemSettings::new();
|
||||
let nc_button_pressed = None;
|
||||
let fullscreen = None;
|
||||
|
||||
Self {
|
||||
@@ -95,6 +97,7 @@ impl WindowsWindowState {
|
||||
click_state,
|
||||
system_settings,
|
||||
current_cursor,
|
||||
nc_button_pressed,
|
||||
display,
|
||||
fullscreen,
|
||||
hwnd,
|
||||
|
||||
Reference in New Issue
Block a user