Gate the new resizing behavior behind new option

This interferes with resizing plugins using resize handles, and since it
only helps with two buggy plugins this seems like the best solution
here.
This commit is contained in:
Robbert van der Helm
2021-08-16 22:39:13 +02:00
parent b84aa18ecf
commit 5613248cda
7 changed files with 83 additions and 51 deletions
+13 -19
View File
@@ -10,28 +10,22 @@ Versioning](https://semver.org/spec/v2.0.0.html).
### TODOs
- Remove the remaining mentions of `editor_double_embed` from the readme.
- Remove the note after the `editor_coordinate_hack` compatibility option in the
readme.
### Added
- Added a new `editor_coordinate_hack` option which replaces
`editor_double_embed`. This can be useful with buggy plugins that have their
editor GUIs misaligned after resizing the window because they draw their GUI
based on (top level) window's absolute screen coordinates instead of their own
relative coordinates. The known plugins that can benefit from this are
_PSPaudioware E27_ and _Soundtoys Crystallizer_.
### Removed
- The `editor_double_embed` option added in yabridge 1.4.0 has been removed.
This option was added to work around _PSPaudioware E27_ which used its parent
window's position as an offset for drawing its GUI, and without this option
that GUI would be misaligned. The below change to yabridge's embedding method
supersedes this option, as it also fixes a similar issue for another plugin.
### Changed
- Yabridge's Wine window embedding now takes more measures to make sure that the
plugin draws itself properly in the top left corner of the window when windows
are being resized. This is needed for some buggy plugins that draw window
based on absolute screen coordinates, instead of their positioning within the
parent window, like the _Soundtoys_ plugins and older _PSPaudioware_ plugins.
### Fixed
- Fixed an offset editor GUI after clicking the 'Tweak' button in _Soundtoys
Crytallizer_.
- The `editor_double_embed` option added in yabridge 1.4.0 has been removed as
the `editor_coordinate_hack` option supersedes it.
### Packaging notes