mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-28 00:20:48 +00:00
auto fit network after load
This commit is contained in:
parent
30a3864db2
commit
0313f6ccf4
1 changed files with 7 additions and 0 deletions
|
|
@ -154,6 +154,13 @@ export default {
|
|||
// update network
|
||||
await this.update();
|
||||
|
||||
// fit network after initial load
|
||||
setTimeout(() => {
|
||||
this.network.fit({
|
||||
animation: true,
|
||||
});
|
||||
}, 2000);
|
||||
|
||||
},
|
||||
async update() {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue