Browse Source

Fixed a typo.

tags/2021-05-28
Julian Storer 14 years ago
parent
commit
8c7b3107f9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_graphics/geometry/juce_Path.cpp

+ 1
- 1
modules/juce_graphics/geometry/juce_Path.cpp View File

@@ -696,7 +696,7 @@ void Path::addBubble (float x, float y,
if (whichSide == 0)
{
const float halfArrowW = jmin (arrowWidth, w - cs2) * 0.5f;
const float arrowX1 = x + cs + jmax (0.0f, (w - cs2 - arrowWidth)) * arrowPos - halfArrowW);
const float arrowX1 = x + cs + jmax (0.0f, (w - cs2 - arrowWidth) * arrowPos - halfArrowW);
lineTo (arrowX1, y);
lineTo (tipX, tipY);
lineTo (arrowX1 + halfArrowW * 2.0f, y);


Loading…
Cancel
Save