feat: close the bubble sooner after the tick

This commit is contained in:
Felitendo committed 2026-09-23 22:25:29 +02:00
1 parent 10b4d91eec
commit e371fff7fd
2 files changed
+4 -4

No files matched your search

+4 -4
View File
@@ -10,10 +10,10 @@
namespace
{
// How long a result stays up before the bubble closes: long enough to read
// (on success after the face has resolved, about a second), short enough not
// to be in the way.
constexpr int SuccessHoldMs = 1500;
// How long a result stays up before the bubble closes: long enough to read,
// short enough not to be in the way. On success the tick is drawn after
// about 730 ms and only gets a short moment on its own.
constexpr int SuccessHoldMs = 1100;
constexpr int FailureHoldMs = 1700;
constexpr int LockoutHoldMs = 3000;
// A scan that never reports back (the daemon went away half way) must not