mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
Changed the way Mac messaging works internally to avoid shutdown problems with plugins. Updated some iPhone code. Fixed a CoreGraphics line drawing problem.
This commit is contained in:
parent
9929d71c27
commit
802f850015
15 changed files with 422 additions and 415 deletions
|
|
@ -686,6 +686,9 @@ public:
|
|||
atom->getText (passwordCharacter),
|
||||
atomX, 0.0f);
|
||||
|
||||
if (indexToFind - indexInText >= g.getNumGlyphs())
|
||||
return atomRight;
|
||||
|
||||
return jmin (atomRight, g.getGlyph (indexToFind - indexInText).getLeft());
|
||||
}
|
||||
|
||||
|
|
@ -703,7 +706,7 @@ public:
|
|||
atomX, 0.0f);
|
||||
|
||||
int j;
|
||||
for (j = 0; j < atom->numChars; ++j)
|
||||
for (j = 0; j < g.getNumGlyphs(); ++j)
|
||||
if ((g.getGlyph(j).getLeft() + g.getGlyph(j).getRight()) / 2 > xToFind)
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue