1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Plugin Client: Respect requested layer-backedness of editor

This commit is contained in:
reuk 2023-03-08 14:51:31 +00:00 committed by reuk
parent 926bbda4fa
commit c5ddf64d16
10 changed files with 98 additions and 33 deletions

View file

@ -29,7 +29,7 @@
#if JucePlugin_Build_AAX && (JUCE_MAC || JUCE_WINDOWS)
#include <juce_audio_plugin_client/utility/juce_IncludeSystemHeaders.h>
#include <juce_audio_plugin_client/utility/juce_IncludeModuleHeaders.h>
#include <juce_audio_plugin_client/utility/juce_PluginUtilities.h>
#include <juce_audio_plugin_client/utility/juce_WindowsHooks.h>
#include <juce_audio_processors/format_types/juce_LegacyAudioParameter.cpp>
@ -454,7 +454,7 @@ namespace AAXClasses
#endif
{
component->setVisible (true);
component->addToDesktop (0, nativeViewToAttachTo);
component->addToDesktop (detail::PluginUtilities::getDesktopFlags (component->pluginEditor.get()), nativeViewToAttachTo);
if (ModifierKeyReceiver* modReceiver = dynamic_cast<ModifierKeyReceiver*> (component->getPeer()))
modReceiver->setModifierKeyProvider (this);