diff --git a/README.md b/README.md index cdae39f..a54ffd8 100644 --- a/README.md +++ b/README.md @@ -82,20 +82,20 @@ ModernZ supports mpv's built-in console/select ([v0.39+](https://github.com/mpv- - [Download default modernz.conf](./modernz.conf) -2. Example short configuration: +2. Example of a short configuration: ```EditorConfig - # Seekbar colors (Hex format) + # Seekbar color (hex format) seekbarfg_color=#B7410E # Interface options - showplaylist=no + playlist_button=no title=${media-title} scalewindowed=1.0 - windowcontrols=auto + window_top_bar=auto ``` -For a full list of options, [check out the detailed user options here](docs/USER_OPTS.md). +For a full list of options, [check out the detailed list here](docs/USER_OPTS.md). ## Controls diff --git a/docs/TRANSLATIONS.md b/docs/TRANSLATIONS.md index 24f4a32..7ba19ad 100644 --- a/docs/TRANSLATIONS.md +++ b/docs/TRANSLATIONS.md @@ -69,7 +69,7 @@ ModernZ currently has translations for the following languages: "screenshot": "Screenshot", "stats_info": "Information", "cache": "Cache", - "buffering": "Buffering" + "buffering": "Buffering", "zoom_in": "Zoom In", "zoom_out": "Zoom Out", "download": "Download", diff --git a/docs/USER_OPTS.md b/docs/USER_OPTS.md index 23ae30b..56ac5ae 100644 --- a/docs/USER_OPTS.md +++ b/docs/USER_OPTS.md @@ -159,7 +159,7 @@ Create `modernz.conf` in your mpv script-opts directory: | Option | Value | Description | | ------------------------ | -------- | -------------------------------------------------------------------------- | -| seekbarhandlesize | 0.8 | size ratio of the seekbar handle (range: 0 ~ 1) | +| seekbarhandlesize | 0.7 | size ratio of the seekbar handle (range: 0 ~ 1) | | handle_always_visible | no | control handle visibility: `yes` always visible, `no` show on slider hover | | seekrange | yes | show seek range overlay | | seekrangealpha | 150 | transparency of the seek range | diff --git a/extras/locale/modernz-locale.json b/extras/locale/modernz-locale.json index 901fd36..b1a4fe7 100644 --- a/extras/locale/modernz-locale.json +++ b/extras/locale/modernz-locale.json @@ -18,7 +18,7 @@ "screenshot": "Capture d'écran", "stats_info": "Informations", "cache": "Cache", - "buffering": "Chargement" + "buffering": "Chargement", "zoom_in": "Agrandir", "zoom_out": "Rétrécir", "download": "Télécharger", @@ -45,7 +45,7 @@ "screenshot": "Bildschirmaufnahme", "stats_info": "Informationen", "cache": "Zwischenspeicher", - "buffering": "Pufferung" + "buffering": "Pufferung", "zoom_in": "Vergrößern", "zoom_out": "Verkleinern", "download": "Herunterladen", @@ -72,7 +72,7 @@ "screenshot": "Captura de pantalla", "stats_info": "Información", "cache": "Caché", - "buffering": "Cargando" + "buffering": "Cargando", "zoom_in": "Ampliar", "zoom_out": "Reducir", "download": "Descargar", @@ -99,7 +99,7 @@ "screenshot": "Zrzut ekranu", "stats_info": "Informacja", "cache": "Pamięć podręczna", - "buffering": "Buforowanie" + "buffering": "Buforowanie", "zoom_in": "Powiększ", "zoom_out": "Pomniejsz", "download": "Pobierz", @@ -126,7 +126,7 @@ "screenshot": "スクリーンショット", "stats_info": "情報", "cache": "キャッシュ", - "buffering": "読み込み中" + "buffering": "読み込み中", "zoom_in": "拡大", "zoom_out": "縮小", "download": "ダウンロード", @@ -153,7 +153,7 @@ "screenshot": "截屏", "stats_info": "信息", "cache": "缓存", - "buffering": "缓冲中" + "buffering": "缓冲中", "zoom_in": "放大", "zoom_out": "缩小", "download": "下载", @@ -180,7 +180,7 @@ "screenshot": "لقطة شاشة", "stats_info": "معلومات", "cache": "ذاكرة التخزين المؤقت", - "buffering": "جار التحميل" + "buffering": "جار التحميل", "zoom_in": "تكبير", "zoom_out": "تصغير", "download": "تنزيل", diff --git a/modernz.conf b/modernz.conf index 5332a02..0fa15ab 100644 --- a/modernz.conf +++ b/modernz.conf @@ -228,7 +228,7 @@ tooltip_hints=yes # Progress bar settings # size ratio of the seekbar handle (range: 0 ~ 1) -seekbarhandlesize=0.8 +seekbarhandlesize=0.7 # control handle visibility: "yes" always visible, "no" show on slider hover handle_always_visible=no # show seek range overlay diff --git a/modernz.lua b/modernz.lua index 54fd7b2..62d9d17 100644 --- a/modernz.lua +++ b/modernz.lua @@ -1275,11 +1275,11 @@ local function render_elements(master_ass) if mouse_hit(element) then local tooltiplabel = element.tooltipF local an = 1 - local ty = element.hitbox.y1 + local ty = element.hitbox.y1 - 2 local tx = get_virt_mouse_pos() if ty < osc_param.playresy / 2 then - ty = element.hitbox.y2 + ty = element.hitbox.y2 - 2 an = 7 end @@ -1295,7 +1295,7 @@ local function render_elements(master_ass) end if tx > osc_param.playresx / 2 then --move tooltip to left side of mouse cursor - tx = tx - string.len(tooltiplabel) * 8 + tx = tx - string.len(tooltiplabel) * 3 end elem_ass:new_event()