mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 22:01:20 -08:00
update
This commit is contained in:
1 parent
646e7401b7
commit
a2b02f44cc
9 files changed
+15
-14
No files matched your search
@@ -32,5 +32,5 @@
|
||||
"Exit PIP Mode": "退出画中画模式",
|
||||
"PIP Not Supported": "不支持画中画模式",
|
||||
"Fullscreen Not Supported": "不支持全屏模式",
|
||||
"Subtitle Offset Time": "字幕偏移"
|
||||
"Subtitle Offset": "字幕偏移"
|
||||
}
|
||||
@@ -32,5 +32,5 @@
|
||||
"Exit PIP Mode": "退出畫中畫模式",
|
||||
"PIP Not Supported": "不支持畫中畫模式",
|
||||
"Fullscreen Not Supported": "不支持全屏模式",
|
||||
"Subtitle Offset Time": "字幕偏移"
|
||||
"Subtitle Offset": "字幕偏移"
|
||||
}
|
||||
@@ -28,7 +28,7 @@ export default function subtitleOffsetMix(art) {
|
||||
}
|
||||
|
||||
art.subtitle.update();
|
||||
notice.show = `${i18n.get('Subtitle Offset Time')}: ${value}s`;
|
||||
notice.show = `${i18n.get('Subtitle Offset')}: ${value}s`;
|
||||
art.emit('subtitleOffset', value);
|
||||
} else {
|
||||
art.emit('subtitleOffset', 0);
|
||||
|
||||
@@ -3,7 +3,7 @@ export default function subtitleOffset(art) {
|
||||
|
||||
return {
|
||||
width: 150,
|
||||
html: i18n.get('Subtitle Offset Time'),
|
||||
html: i18n.get('Subtitle Offset'),
|
||||
icon: icons.subtitle,
|
||||
children: [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5].map((item) => {
|
||||
return {
|
||||
|
||||
@@ -30,8 +30,9 @@
|
||||
cursor: pointer;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
|
||||
&:hover {
|
||||
color: rgba(255, 255, 255, 0.95);
|
||||
&:hover,
|
||||
&.art-current {
|
||||
color: #fff;
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user