mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
Scroll amount now 1/1000th while pressing "shift"
This commit is contained in:
parent
620e75517c
commit
4de55ea5fe
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
|
|||
}
|
||||
|
||||
changeTimesWhenScrolling(index: number, e: React.WheelEvent, sponsorTime: SponsorTime): void {
|
||||
const step = 0.01;
|
||||
const step = (e.shiftKey) ? 0.001 : 0.01;
|
||||
const sponsorTimeEdits = this.state.sponsorTimeEdits;
|
||||
let timeAsNumber = utils.getFormattedTimeToSeconds(this.state.sponsorTimeEdits[index]);
|
||||
if (timeAsNumber !== null && e.deltaY != 0) {
|
||||
|
|
Loading…
Reference in a new issue