mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-09-20 10:05:57 +08:00
Increase the timeout for topbar (#1125)
The topbar still shows way too frequently even when the navigation feels snap.
This commit is contained in:
parent
d77899e8dd
commit
3e0b3fffac
|
@ -10,7 +10,7 @@ export function registerTopbar() {
|
|||
|
||||
window.addEventListener("phx:page-loading-start", () => {
|
||||
if (!topBarScheduled) {
|
||||
topBarScheduled = setTimeout(() => topbar.show(), 200);
|
||||
topBarScheduled = setTimeout(() => topbar.show(), 500);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue