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

Automatically refresh images when they change on disk #196

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

neilenns
Copy link
Owner

Fixes #195

  • Track non-SVG images with the svg manager, solely for file watching
  • Fire an event whenever a tracked file changes
  • Add an event handler that refreshes all the images
  • Update the Controller interface and BaseController class to require public refreshImage() and refreshTitle() methods

This works great for SVGs but due to a bug in StreamDeck it does not work for PNG/JPEGs.

@neilenns neilenns added the enhancement Improvements to existing features label Jul 29, 2024
@neilenns neilenns merged commit 600e2f3 into main Jul 29, 2024
3 checks passed
@neilenns neilenns deleted the neilenns/issue195 branch July 29, 2024 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements to existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically refresh images when the file changes on disk
1 participant