mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
More iOS touch fixes. Tweaks to AudioProcessorGraph and PopupMenu, ComponentPeer.
This commit is contained in:
parent
4310106c58
commit
97f8de4323
11 changed files with 114 additions and 45 deletions
|
|
@ -593,13 +593,13 @@ void Component::addToDesktop (int styleWanted, void* nativeWindowToAttachTo)
|
|||
{
|
||||
WeakReference<Component> safePointer (this);
|
||||
|
||||
#if JUCE_LINUX
|
||||
#if JUCE_LINUX
|
||||
// it's wise to give the component a non-zero size before
|
||||
// putting it on the desktop, as X windows get confused by this, and
|
||||
// a (1, 1) minimum size is enforced here.
|
||||
setSize (jmax (1, getWidth()),
|
||||
jmax (1, getHeight()));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
const Point<int> topLeft (getScreenPosition());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue