Skip to content

Conversation

@IvanHanloth
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings April 21, 2025 02:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new feature that hides the window when the mouse moves to one of the screen's four corners.

  • Adds a mouse movement listener and corresponding event handling logic in listener.py.
  • Introduces new configuration options in config.py for corner detection and restore behavior.
  • Updates the GUI in options_page.py and hotkeys_page.py to include controls for the new mouse corner hide functionality.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

File Description
main/core/listener.py Added mouse_move_listener and on_mouse_move methods with parameters for corner detection and cooldowns.
main/core/config.py Introduced new configuration settings for mouse corner actions.
main/GUI/setting/options_page.py Changed panel type to scrolled and adjusted layout spacing.
main/GUI/setting/hotkeys_page.py Added checkboxes and grid sizers in the UI for mouse corner hide and restore settings.

@IvanHanloth IvanHanloth merged commit 1cb9403 into dev Apr 21, 2025
@IvanHanloth IvanHanloth deleted the MoveHideSupport branch April 21, 2025 02:00
@IvanHanloth IvanHanloth linked an issue Apr 21, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

鼠标移动至四角隐藏

2 participants