Open sidevesh opened 1 year ago
@KyLeggiero do you have any pointers on this ?
Yeah, this is weird. I'm trying to debug this. Seems to be new as of Sonoma maybe? Stay tuned.
Also currently working on a SwiftUI API so I wanna make sure this remains polished for that launch.
timeToLive
should at least be working right now. Can you try setting it to other values to see how long it stays on screen before disappearing? Your example sets it to 2
, which is the default. Setting it to 0.5
should shorten how long it's on-screen, and 10
should make it stay on-screen longer. Please let me know if that's working this way
Any value less than 2 seems to work for timeToLive
and I can see the toast disappear earlier,
anything above 2 seems to have no effect, it just seems to use 2 seconds.
You should be able to reproduce this issue with the above code, the full code is at https://github.com/sidevesh/MuteMicrophonesOSD
Thank you for the feedback! Will keep all this in-mind during the coming updates
Have a really simple program where I am trying to show an HUD, but I can't seem to be able to get
timeToLive
,fadeOutAnimationDuration
andafterHideCallback
options to work, despite whatever value I set the HUD disappears with no animations,fadeInAnimationDuration
seems to work though. alsotimeToLive
does not seem to have any effect and the HUD disappears after the same time no matter what value I set.afterHideCallback
does not seem to trigger either.