mirror of
https://github.com/nyakang/nyaterm.git
synced 2026-11-06 08:07:34 +00:00
- Updated drag cancellation logic to ensure proper cleanup of internal drag states when the escape key is pressed or when a pointer cancel event occurs. - Enhanced the handling of drop hover states across various components, ensuring that the UI reflects the correct state during drag operations. - Added tests to verify the behavior of drag cancellation and hover states, ensuring robustness in user interactions. - Refactored related functions for clarity and maintainability, improving overall code quality.