Skip to content

Commit

Permalink
Update App.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
cesaroeduardo committed Sep 12, 2024
1 parent 3547359 commit bd5076e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ export default {
this.openBottombar = !this.openBottombar;
},
updateFontSize() {
this.selectedFontSize = this.fontSizeValues[this.sliderValue];
window.requestAnimationFrame(() => {
this.selectedFontSize = this.fontSizeValues[this.sliderValue];
});
}
}
}
Expand Down

0 comments on commit bd5076e

Please sign in to comment.