1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00

Fixed a layout bug in the Projucer GUI tool

This commit is contained in:
jules 2018-01-02 09:53:06 +00:00
parent 85f74ca7d3
commit 4ac47ac8af

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;
}