Browse Source

Tweak to avoid false alarm assertions in relative positioning.

tags/2021-05-28
jules 11 years ago
parent
commit
cfc5c8569a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/positioning/juce_RelativeRectangle.cpp

+ 1
- 1
modules/juce_gui_basics/positioning/juce_RelativeRectangle.cpp View File

@@ -208,7 +208,7 @@ public:
void applyToComponentBounds() void applyToComponentBounds()
{ {
for (int i = 4; --i >= 0;)
for (int i = 32; --i >= 0;)
{ {
ComponentScope scope (getComponent()); ComponentScope scope (getComponent());
const Rectangle<int> newBounds (rectangle.resolve (&scope).getSmallestIntegerContainer()); const Rectangle<int> newBounds (rectangle.resolve (&scope).getSmallestIntegerContainer());


Loading…
Cancel
Save