Skip to content

Commit

Permalink
add snap to range
Browse files Browse the repository at this point in the history
  • Loading branch information
NyaomiDEV committed May 7, 2024
1 parent aa26d42 commit 74218c7
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions src/views/options/Accessibility.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,32 @@
<IonItem>
<IonLabel>
<h3>UI size</h3>
<IonRange v-model="config.fontScale"/>
<IonRange
v-model="config.fontScale"
:label="config.fontScale.toString()"
labelPlacement="end"
:min="0.5"
:max="1.5"
:step="0.1"
:snaps="true"
:ticks="true"
/>
</IonLabel>
</IonItem>

<IonItem>
<IonLabel>
<h3>Chat UI size</h3>
<IonRange v-model="config.chatFontScale" />
<IonRange
v-model="config.chatFontScale"
:label="config.chatFontScale.toString()"
labelPlacement="end"
:min="0.5"
:max="1.5"
:step="0.1"
:snaps="true"
:ticks="true"
/>
</IonLabel>
</IonItem>

Expand Down

0 comments on commit 74218c7

Please sign in to comment.