othyn / macos-auto-clicker

A simple auto clicker for macOS Big Sur, Monterey, Ventura and Sonoma.
MIT License
208 stars 24 forks source link

Fix: The window size is not persisted between application sessions #45

Closed othyn closed 2 years ago

othyn commented 2 years ago

Description

Issue with the window size not persisting between states, the initial implementation was half baked anyway as there was never an event hook to update the value. So I did patch that and then attempt to restore the window state on load the SwiftUI way but there doesn't appear to be native functionality to allow this yet. So for now, just removed it and set up some wider limitations on the window bounds to allow for new languages not to be cut off.

Related Issue

Closes #44

Motivation and Context

Language support fixes as other languages may trail off the window bounds.

How Has This Been Tested?

Manually

Types of changes

Checklist