From ccf5659ac3548b671820c4fe45d6656aca1013f6 Mon Sep 17 00:00:00 2001 From: KevinWh0 <45321184+KevinWh0@users.noreply.github.com> Date: Sat, 16 Mar 2024 01:34:20 +0100 Subject: [PATCH] made methods private --- packages/frontend/src/ui/_common_/common.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/ui/_common_/common.vue b/packages/frontend/src/ui/_common_/common.vue index 77148835f..78fd2d217 100644 --- a/packages/frontend/src/ui/_common_/common.vue +++ b/packages/frontend/src/ui/_common_/common.vue @@ -97,7 +97,7 @@ class NotificationFavIconDot { faviconEL = document.querySelector('link[rel$=icon]') ?? this._createFaviconElem(); - _createFaviconElem() { + private _createFaviconElem() { const newLink = document.createElement('link'); newLink.rel = 'icon'; newLink.href = '/favicon.ico'; @@ -105,12 +105,12 @@ class NotificationFavIconDot { return newLink; } - _drawIcon() { + private _drawIcon() { if (!this.ctx || !this.favconImage) return; this.ctx.drawImage(this.favconImage, 0, 0, this.favconImage.width, this.favconImage.height); } - _drawDot() { + private _drawDot() { if (!this.ctx || !this.favconImage) return; this.ctx.beginPath(); this.ctx.arc(this.favconImage.width - 10, 10, 10, 0, 2 * Math.PI);