From d6d31d8ae9df5691ac35d79875851b4c13cd8004 Mon Sep 17 00:00:00 2001 From: stax76 Date: Thu, 9 Jun 2022 19:37:42 +0200 Subject: [PATCH] Fix compatibility with mpv-osc-tethys --- docs/Changelog.md | 1 + src/Misc/MainForm.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Changelog.md b/docs/Changelog.md index 84e8036..d663d16 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -5,6 +5,7 @@ - New options `autofit-image` and `autofit-audio`, like autofit but used for image and audio files. Default 80. - New [auto-mode](https://github.com/stax76/mpv-scripts) script to use mpv and mpv.net as image viewer and audio player. - Fix long commands causing key bindings not visible in the command palette. +- Fix compatibility with mpv-osc-tethys, which is a new osc script. # 6.0.0.0 Beta (2022-06-05) diff --git a/src/Misc/MainForm.cs b/src/Misc/MainForm.cs index 7eef852..d0926bb 100644 --- a/src/Misc/MainForm.cs +++ b/src/Misc/MainForm.cs @@ -221,7 +221,7 @@ namespace mpvnet if (FormBorderStyle == FormBorderStyle.None) top = ClientSize.Height * 0.1f; - return pos.Y > ClientSize.Height * 0.85 || pos.Y < top; + return pos.Y > ClientSize.Height * 0.8 || pos.Y < top; } void UpdateMenu()