Skip to content

Commit

Permalink
Flip control box and time button to original order
Browse files Browse the repository at this point in the history
  • Loading branch information
patudom committed Apr 2, 2024
1 parent b2d34e7 commit 0b0cd81
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions src/SolarEclipse2024.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1346,6 +1346,23 @@
:box-shadow="false"
></icon-button>

<icon-button
id="eclipse-details-button"
md-icon="sun-clock"
:md-size="showNewMobileUI ? '16' : '24'"
:color="accentColor"
:focus-color="accentColor"
tooltip-text="View eclipse timing details"
tooltip-location="start"
@activate="() => {
showEclipsePredictionSheet = true;
if (!showEclipsePredictionText) {
showEclipsePredictionTextBanner = !showNewMobileUI;
}
showEclipsePredictionText = true;
}"
>
</icon-button>

<div
id="controls"
Expand Down Expand Up @@ -1413,24 +1430,6 @@
</div>

</div>
<icon-button
id="eclipse-details-button"
md-icon="sun-clock"
:md-size="showNewMobileUI ? '16' : '24'"
:color="accentColor"
:focus-color="accentColor"
tooltip-text="View eclipse timing details"
tooltip-location="start"
@activate="() => {
showEclipsePredictionSheet = true;
if (!showEclipsePredictionText) {
showEclipsePredictionTextBanner = !showNewMobileUI;
}
showEclipsePredictionText = true;
}"
>
</icon-button>


<div id="eclipse-percent-chip">
<v-chip
Expand Down

0 comments on commit 0b0cd81

Please sign in to comment.