diff --git a/index.json b/index.json index e53f8f5..c4c920d 100644 --- a/index.json +++ b/index.json @@ -289,7 +289,7 @@ }, "performance-monitor": { "react": true, - "version": "1.2.0", + "version": "1.2.1", "style": true, "icon": false, "test": true, diff --git a/src/performance-monitor/CHANGELOG.md b/src/performance-monitor/CHANGELOG.md index ae9e8bf..7eb2b05 100644 --- a/src/performance-monitor/CHANGELOG.md +++ b/src/performance-monitor/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.2.1 (28 Nov 2024) + +* fix: value disappear + ## 1.2.0 (28 Nov 2024) * feat: update title diff --git a/src/performance-monitor/index.ts b/src/performance-monitor/index.ts index 3d31248..44f0005 100644 --- a/src/performance-monitor/index.ts +++ b/src/performance-monitor/index.ts @@ -343,7 +343,9 @@ export default class PerformanceMonitor extends Component { } private initTpl() { this.$container.html( - this.c(`
`) + this.c( + `
` + ) ) } } diff --git a/src/performance-monitor/package.json b/src/performance-monitor/package.json index b2a73f5..24d01db 100644 --- a/src/performance-monitor/package.json +++ b/src/performance-monitor/package.json @@ -1,6 +1,6 @@ { "name": "performance-monitor", - "version": "1.2.0", + "version": "1.2.1", "description": "Realtime counter used for displaying cpu, fps metrics", "luna": { "react": true diff --git a/src/performance-monitor/style.scss b/src/performance-monitor/style.scss index bdab8c0..4283161 100644 --- a/src/performance-monitor/style.scss +++ b/src/performance-monitor/style.scss @@ -8,7 +8,7 @@ @include mixin.component(); } -.title { +.header { font-size: #{theme.$font-size}px; margin-bottom: 5px; color: theme.$color-text;