Polishing: standardize binding JS resize event (fixes non-integer AA rendering); remove "X" to delete; cleanup

This commit is contained in:
Keavon Chambers
2022-02-10 02:29:45 -08:00
parent cb518c6ce0
commit c4fdc28449
10 changed files with 63 additions and 49 deletions
@@ -138,13 +138,6 @@ export default defineComponent({
}
},
},
mounted() {
window.addEventListener("resize", this.handleResize);
this.handleResize();
},
beforeUnmount() {
window.removeEventListener("resize", this.handleResize);
},
data() {
return {
rulerLength: 0,