Skip to content

Commit

Permalink
feat(chart): Set charting interval from 5s -> 3s
Browse files Browse the repository at this point in the history
  • Loading branch information
false-spring committed Mar 13, 2024
1 parent 7d3308f commit 073a1fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ fn fetch_encounter_state(id: u64, options: ParseOptions) -> Result<EncounterStat
let duration = parser.derived_state.duration();
let mut player_dps: HashMap<u32, Vec<i32>> = HashMap::new();

const DPS_INTERVAL: i64 = 5 * 1_000;
const DPS_INTERVAL: i64 = 3 * 1_000;

for player in parser.derived_state.party.values() {
player_dps.insert(
Expand Down
2 changes: 1 addition & 1 deletion src/pages/logs/View.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const ChartTooltip = ({ label, payload }: ChartTooltipProps) => {
);
};

const DPS_INTERVAL = 5;
const DPS_INTERVAL = 3;

export const ViewPage = () => {
const { id } = useParams();
Expand Down

0 comments on commit 073a1fb

Please sign in to comment.