Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

Adjustment of Window Behavior #15

Merged
merged 3 commits into from
Jun 10, 2023
Merged

Adjustment of Window Behavior #15

merged 3 commits into from
Jun 10, 2023

Conversation

Richasy
Copy link
Owner

@Richasy Richasy commented Jun 10, 2023

Close #13

  1. When the default height of the window exceeds the current screen height, adjust the window height accordingly.
  2. Remember the last position where the window was closed and open it in the designated position upon the next launch.

PR type

What is the purpose of this PR?

  • Bug fix
  • Feature

What is the current behavior?

  1. If the window height exceeds the current screen height, it will be truncated.
  2. The application will always launch in the center of the screen upon every start.

What is the new behavior?

  1. Adapt to changes in screen height.
  2. Remeber the last position.

PR checklist

Please check that your PR meets the following requirements:

  • App successfully launched
  • File headers have been added to all source files
  • NOT Contains breaking updates

Remark

Added information regarding the issue of temporary messages not being cleared when canceling message generation.

@Richasy Richasy added bug Something isn't working enhancement New feature or request labels Jun 10, 2023
@Richasy Richasy merged commit b186478 into main Jun 10, 2023
1 check passed
@Richasy Richasy deleted the richasy/windowBehavior branch June 10, 2023 00:08
@Richasy Richasy linked an issue Jun 11, 2023 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] 支持窗口位置记忆功能 [Bug] Window truncation issues on small screens
1 participant