mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-12-09 21:26:05 +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
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ export function registerTopbar() {
|
||||||
|
|
||||||
window.addEventListener("phx:page-loading-start", () => {
|
window.addEventListener("phx:page-loading-start", () => {
|
||||||
if (!topBarScheduled) {
|
if (!topBarScheduled) {
|
||||||
topBarScheduled = setTimeout(() => topbar.show(), 200);
|
topBarScheduled = setTimeout(() => topbar.show(), 500);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue