mirror of
https://github.com/jcreek/EstimationPoker.git
synced 2026-07-14 11:33:45 +00:00
feat(#23): reduce volume and limit to 5s
This commit is contained in:
@@ -102,8 +102,8 @@
|
|||||||
'/sounds/explosion2.mp3'
|
'/sounds/explosion2.mp3'
|
||||||
],
|
],
|
||||||
volume: {
|
volume: {
|
||||||
min: 4,
|
min: 1,
|
||||||
max: 8
|
max: 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -195,6 +195,11 @@
|
|||||||
} else if (message.type === 'estimation-closed') {
|
} else if (message.type === 'estimation-closed') {
|
||||||
estimateGroups = message.groupedEstimates;
|
estimateGroups = message.groupedEstimates;
|
||||||
showFireworks = areEstimatesSame(estimateGroups);
|
showFireworks = areEstimatesSame(estimateGroups);
|
||||||
|
if (showFireworks) {
|
||||||
|
setTimeout(() => {
|
||||||
|
showFireworks = false;
|
||||||
|
}, 5000);
|
||||||
|
}
|
||||||
showRestartButton = true;
|
showRestartButton = true;
|
||||||
showEstimates = true;
|
showEstimates = true;
|
||||||
disableEstimates = true;
|
disableEstimates = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user