Browse Source

Fixed a layout bug in the Projucer GUI tool

tags/2021-05-28
jules 7 years ago
parent
commit
4ac47ac8af
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      extras/Projucer/Source/ComponentEditor/UI/jucer_RelativePositionedRectangle.h

+ 2
- 2
extras/Projucer/Source/ComponentEditor/UI/jucer_RelativePositionedRectangle.h View File

@@ -411,8 +411,8 @@ public:
*/
bool isPositionAbsolute() const noexcept
{
return xMode == absoluteFromParentTopLeft
&& yMode == absoluteFromParentTopLeft
return (xMode & ~anchorAtLeftOrTop) == absoluteFromParentTopLeft
&& (yMode & ~anchorAtLeftOrTop) == absoluteFromParentTopLeft
&& wMode == absoluteSize
&& hMode == absoluteSize;
}


Loading…
Cancel
Save