fix edit mode pointer leave

This commit is contained in:
galister
2025-12-20 18:19:42 +09:00
parent 23df9228a9
commit 73e2f06b01
2 changed files with 11 additions and 2 deletions
+2
View File
@@ -17,6 +17,7 @@ pub struct OverlayWindowData<T> {
pub data: T,
pub birthframe: usize,
pub primary_pointer: Option<usize>,
pub hover_pointers: [bool; 2],
}
impl<T> OverlayWindowData<T>
@@ -28,6 +29,7 @@ where
data: T::default(),
config,
primary_pointer: None,
hover_pointers: [false, false],
birthframe: 0,
}
}