mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 07:25:52 +03:00
[PR #413] [MERGED] Fix the window getting smaller each time it's opened #529
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#529
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jpochyla/psst/pull/413
Author: @Insprill
Created: 5/11/2023
Status: ✅ Merged
Merged: 5/13/2023
Merged by: @Insprill
Base:
master← Head:fix/window-size📝 Commits (1)
c5063cfFix the window getting smaller each time it's opened📊 Changes
1 file changed (+8 additions, -1 deletions)
View changed files
📝
psst-gui/src/delegate.rs(+8 -1)📄 Description
When the window is created, there's an initial WindowSize event that's slightly smaller than the desired window size. This causes the app to keep getting smaller each time it's opened until it's hit the minimum window size. This makes it so the first WindowSize event doesn't save its size to the config.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.