刷新时间调整成1秒
This commit is contained in:
@@ -73,7 +73,7 @@ All GPU data is collected directly from sysfs/command-line tools (no D-Bus servi
|
|||||||
- Colors derived from `DockPalette.iconTextPalette` (basePalette): `primaryText`, `secondaryText`, `tertiaryText`, `cardBackground`, `cardBorder`, `accentBlue`, `accentBlueLight`.
|
- Colors derived from `DockPalette.iconTextPalette` (basePalette): `primaryText`, `secondaryText`, `tertiaryText`, `cardBackground`, `cardBorder`, `accentBlue`, `accentBlueLight`.
|
||||||
- Existing JS helper functions in driverview.qml: `parseGpuName()`, `parseDriverInfo()`, `parseDriverName()`, `parseDriverVersion()`, `parseGpuVendorShort()`, `buildToolTipText()`.
|
- Existing JS helper functions in driverview.qml: `parseGpuName()`, `parseDriverInfo()`, `parseDriverName()`, `parseDriverVersion()`, `parseGpuVendorShort()`, `buildToolTipText()`.
|
||||||
- `deviceInfo` format: each line = `"GPU Name (driver version)"`. Parsed by splitting on `(` and `)`.
|
- `deviceInfo` format: each line = `"GPU Name (driver version)"`. Parsed by splitting on `(` and `)`.
|
||||||
- Timer pattern: `statsRefreshTimer` (2s interval) starts on popup open AND tooltip hover, stops on close/leave.
|
- Timer pattern: `statsRefreshTimer` (1s interval) starts on popup open AND tooltip hover, stops on close/leave.
|
||||||
|
|
||||||
## No Tests
|
## No Tests
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ AppletItem {
|
|||||||
// 统计数据刷新定时器
|
// 统计数据刷新定时器
|
||||||
Timer {
|
Timer {
|
||||||
id: statsRefreshTimer
|
id: statsRefreshTimer
|
||||||
interval: 2000
|
interval: 1000
|
||||||
repeat: true
|
repeat: true
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
if (root.applet) {
|
if (root.applet) {
|
||||||
|
|||||||
Reference in New Issue
Block a user