mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Enabled button tooltips for non-mobile devices
This commit is contained in:
parent
8a7a10f7d5
commit
54138be4e1
1 changed files with 2 additions and 0 deletions
|
@ -445,12 +445,14 @@ export default {
|
||||||
buffered: "rgba(255, 255, 255, 0.54)",
|
buffered: "rgba(255, 255, 255, 0.54)",
|
||||||
played: "rgb(255, 0, 0)",
|
played: "rgb(255, 0, 0)",
|
||||||
},
|
},
|
||||||
|
enableTooltips: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.$ui.isMobile()) {
|
if (this.$ui.isMobile()) {
|
||||||
config.controlPanelElements = config.controlPanelElements.filter(
|
config.controlPanelElements = config.controlPanelElements.filter(
|
||||||
prop => prop != "play_pause" && prop != "volume",
|
prop => prop != "play_pause" && prop != "volume",
|
||||||
);
|
);
|
||||||
|
config.enableTooltips = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$ui.configure(config);
|
this.$ui.configure(config);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue