mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-27 01:19:25 +08:00
fix(panel): remove range-switch font flicker and simplify rate popover
- Drop transparent-container opacity animations on ConsumptionView and TrendAreaChart range switches that forced DirectWrite grayscale AA transitions, and pool trend X-axis ticks, grid lines, and heatmap cells in-place - Remove the redundant weekly quota summary row, internal hairlines, and bottom note from the QuotaPoolsWidget empirical burn-rate popover
This commit is contained in:
@@ -406,11 +406,7 @@ export const ConsumptionView = defineComponent({
|
||||
let lastAnimatedRankingKey = '';
|
||||
let lastAnimatedSortSig = '';
|
||||
const consAnimTimers = new Map();
|
||||
const TRANSIENT_CONS_CLASSES = [
|
||||
'is-range-switching',
|
||||
'is-tab-entering',
|
||||
'is-bars-revealing',
|
||||
];
|
||||
const TRANSIENT_CONS_CLASSES = ['is-bars-revealing'];
|
||||
|
||||
function cleanupConsAnim(el) {
|
||||
const rec = consAnimTimers.get(el);
|
||||
@@ -2228,13 +2224,7 @@ export const ConsumptionView = defineComponent({
|
||||
!tabSwitched &&
|
||||
nextSortSig !== lastAnimatedSortSig;
|
||||
|
||||
if (rangeSwitched) {
|
||||
triggerConsAnim(unifiedMatrixEl, 'is-range-switching');
|
||||
triggerConsAnim(activeRankingEl, 'is-range-switching');
|
||||
triggerConsAnim(sourcesListEl, 'is-range-switching');
|
||||
} else if (tabSwitched) {
|
||||
triggerConsAnim(activeRankingEl, 'is-tab-entering');
|
||||
} else if (sortSwitched) {
|
||||
if (tabSwitched || sortSwitched) {
|
||||
triggerConsAnim(activeRankingEl, 'is-bars-revealing');
|
||||
}
|
||||
if (!hasCompletedInitialDraw) {
|
||||
|
||||
Reference in New Issue
Block a user