Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

field_size settings from full_mouse_settings.talon does not load #1

Open
tararoys opened this issue Aug 25, 2021 · 1 comment
Open

Comments

@tararoys
Copy link
Owner

The settings from full_mouse_settings.talon do not load immediately. I can trigger them to load by going to full_mouse_grid.py and saving that file, at which point the full_mouse_grid stops using the default file settings and starts using the settings in full_mouse_settings.talon.

@tararoys
Copy link
Owner Author

On line 120, when I initialize a MouseSnapMillion object,

self.field_size = int(setting_field_size.get())

field size is set by going and getting the field size from the setting. It seems like this happens before the settings file is loaded.

The fix: if I get the setting for field size and call it in the draw function, the same as I do with every other setting, then the field size gets correctly drawn.

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

No branches or pull requests

1 participant