From aab2f5b014dfbd553cca65a2d2a21bcdbbf5ef3a Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sat, 21 Oct 2023 17:59:52 +0200 Subject: [PATCH] fix ard performance display --- .../src/PlayerUiPanels/AutodetectionSettingsPanel.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/csui/src/PlayerUiPanels/AutodetectionSettingsPanel.vue b/src/csui/src/PlayerUiPanels/AutodetectionSettingsPanel.vue index 4c387ff..5b6a508 100644 --- a/src/csui/src/PlayerUiPanels/AutodetectionSettingsPanel.vue +++ b/src/csui/src/PlayerUiPanels/AutodetectionSettingsPanel.vue @@ -39,7 +39,7 @@ Math.max( (performanceData?.total?.averageTime ?? 0) - (performanceData?.imageDraw?.averageTime ?? 0) - - (performanceData?.imageDraw?.averageTime ?? 0), + - (performanceData?.blackFrame?.averageTime ?? 0), 0 ).toFixed(1) }} ms @@ -62,7 +62,7 @@ 'width': Math.max( (performanceData?.total?.averageTime ?? 0) - (performanceData?.imageDraw?.averageTime ?? 0) - - (performanceData?.imageDraw?.averageTime ?? 0), + - (performanceData?.blackFrame?.averageTime ?? 0), 0 ) + '%' }" @@ -80,7 +80,7 @@ Math.max( (performanceData?.total?.worstTime ?? 0) - (performanceData?.imageDraw?.worstTime ?? 0) - - (performanceData?.blackFrameDraw?.worstTime ?? 0), + - (performanceData?.blackFrame?.worstTime ?? 0), 0 ).toFixed(1) }} ms @@ -94,7 +94,7 @@