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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 KiB

After

Width:  |  Height:  |  Size: 222 KiB

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