mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
Merge remote-tracking branch 'origin/master'
* origin/master: Fix #4878 Fix: center material icon #4924
This commit is contained in:
commit
384a9ef62b
2 changed files with 3 additions and 2 deletions
|
|
@ -19,7 +19,6 @@
|
|||
.mat-icon {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
transform: translateY(-2px);
|
||||
|
||||
:host(.isSuccess) & {
|
||||
opacity: 0.25;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,9 @@ export const speak = (text: string, volume: number, voice: string): void => {
|
|||
synth.getVoices().find((v) => voice.includes(v.name)) ||
|
||||
synth.getVoices().find((v) => v.default) ||
|
||||
null;
|
||||
utter.volume = volume;
|
||||
|
||||
console.log(volume);
|
||||
utter.volume = volume / 100;
|
||||
|
||||
synth.speak(utter);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue