mirror of
https://github.com/Vikeo/LifeTrinket.git
synced 2025-11-13 06:36:20 +00:00
add life for constant values
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { ReactNode, useRef, useState } from 'react';
|
||||
import styled from 'styled-components';
|
||||
import { css } from 'styled-components';
|
||||
import { decrementTimeoutMs } from '../../Data/constants';
|
||||
import { CounterType, Rotation } from '../../Types/Player';
|
||||
import { OutlinedText } from '../Misc/OutlinedText';
|
||||
|
||||
@@ -96,7 +97,7 @@ const ExtraCounter = ({
|
||||
timeoutRef.current = setTimeout(() => {
|
||||
setTimeoutFinished(true);
|
||||
handleCountChange(-1);
|
||||
}, 500);
|
||||
}, decrementTimeoutMs);
|
||||
};
|
||||
|
||||
const handleUpInput = () => {
|
||||
|
||||
Reference in New Issue
Block a user