mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 06:45:49 +01:00
disabling link map animation, closes #684
This commit is contained in:
@@ -29,6 +29,7 @@ class LinkMapWidget extends StandardWidget {
|
||||
}
|
||||
|
||||
async doRenderBody() {
|
||||
this.$body.css('opacity', 0);
|
||||
this.$body.html(TPL);
|
||||
|
||||
const $linkMapContainer = this.$body.find('.link-map-container');
|
||||
@@ -43,6 +44,8 @@ class LinkMapWidget extends StandardWidget {
|
||||
});
|
||||
|
||||
await this.linkMapService.render();
|
||||
|
||||
this.$body.animate({opacity: 1}, 300);
|
||||
}
|
||||
|
||||
cleanup() {
|
||||
|
||||
Reference in New Issue
Block a user