fix: remove scrollbar on init load of status panel (#1059)

This commit is contained in:
Stefan Dej 2022-09-04 20:11:44 +02:00 committed by GitHub
parent 0570568322
commit 6fefc98da6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -402,7 +402,9 @@ export default class StatusPanelGcodefiles extends Mixins(BaseMixin, ControlMixi
}
mounted() {
this.calcContentTdWidth()
setTimeout(() => {
this.calcContentTdWidth()
}, 200)
}
calcContentTdWidth() {

View File

@ -254,7 +254,9 @@ export default class StatusPanelJobqueue extends Mixins(BaseMixin) {
}
mounted() {
this.calcContentTdWidth()
setTimeout(() => {
this.calcContentTdWidth()
}, 200)
}
calcContentTdWidth() {