Skip to content

Commit

Permalink
Also change time rate to real time and play
Browse files Browse the repository at this point in the history
  • Loading branch information
patudom committed Apr 8, 2024
1 parent 45b2bb8 commit 0af8f32
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/SolarEclipse2024.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1536,7 +1536,11 @@
<div style="position: relative">
<v-btn
:disabled="nowOutsideTimeRange"
@click="selectedTime = Math.max(minTime, Math.min(maxTime, Date.now()))"
@click="() => {
selectedTime = Math.max(minTime, Math.min(maxTime, Date.now()));
playbackRate=1;
playing=true;
}"
>
Now
</v-btn>
Expand Down

0 comments on commit 0af8f32

Please sign in to comment.