Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #55 from jimmac/wip/jimmac/multiplier-typography
Browse files Browse the repository at this point in the history
playback rate: use nice typography
  • Loading branch information
vixalien authored Jan 12, 2024
2 parents d386eae + e3afe5c commit ee02a10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/playback-rate-button.ui
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<template class="APPlaybackRateButton" parent="AdwBin">
<child>
<object class="GtkMenuButton" id="menu_button">
<property name="label">1.0x</property>
<property name="label">1.</property>
<property name="popover">
<object class="GtkPopover">
<child>
Expand Down
2 changes: 1 addition & 1 deletion src/playback-rate-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class APPlaybackRateButton extends Adw.Bin {
(_binding, from: number) => {
// const rounded = (Math.round(from * 10) / 10).toString();
const rounded = from.toFixed(1);
return [true, `${rounded}`];
return [true, `${rounded}×`];
},
null,
);
Expand Down

0 comments on commit ee02a10

Please sign in to comment.