1
0
Fork 0
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:
Julian Storer 2011-04-30 12:44:38 +01:00
parent 4310106c58
commit 97f8de4323
11 changed files with 114 additions and 45 deletions

View file

@ -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());