hedgequantx 2.9.103 → 2.9.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/pages/algo/ui.js +3 -2
package/package.json
CHANGED
package/src/pages/algo/ui.js
CHANGED
|
@@ -289,8 +289,9 @@ class AlgoUI {
|
|
|
289
289
|
|
|
290
290
|
// Activity header - HF style with animated spinner
|
|
291
291
|
if (!this.startTime) this.startTime = Date.now();
|
|
292
|
-
// Increment spinner frame on
|
|
293
|
-
|
|
292
|
+
// Increment spinner frame based on time (100ms per frame = visible rotation)
|
|
293
|
+
const elapsed = Date.now() - this.startTime;
|
|
294
|
+
this.spinnerFrame = Math.floor(elapsed / 100) % SPINNER.length;
|
|
294
295
|
const spinner = SPINNER[this.spinnerFrame];
|
|
295
296
|
const now = new Date();
|
|
296
297
|
const timeStr = now.toLocaleTimeString('en-US', { hour12: false });
|