fixed animation keyframes
All checks were successful
Copy Files to Samba Share dev / Copy Files (push) Successful in 23s

This commit is contained in:
2024-11-07 18:01:17 +01:00
parent 4090e5bffa
commit bc82aeb1a0
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -56,7 +56,7 @@ export class ToggleComponent {
const newValue = !this.isDarkMode(); const newValue = !this.isDarkMode();
setTimeout(() => { setTimeout(() => {
this.toggleOn.emit(newValue); this.toggleOn.emit(newValue);
}, this.isDarkMode() ? 600 : 350); }, this.isDarkMode() ? 670 : 535);
setTimeout(() => { setTimeout(() => {
this.isDarkMode.set(!this.isDarkMode()); this.isDarkMode.set(!this.isDarkMode());
@@ -66,6 +66,6 @@ export class ToggleComponent {
this.isChanging.set(false); this.isChanging.set(false);
}, this.isDarkMode() ? 600 : 400); }, 1000);
} }
} }