diff --git a/loader/src/cocos2d-ext/AxisLayout.cpp b/loader/src/cocos2d-ext/AxisLayout.cpp index cedded25..5cf331c1 100644 --- a/loader/src/cocos2d-ext/AxisLayout.cpp +++ b/loader/src/cocos2d-ext/AxisLayout.cpp @@ -823,13 +823,14 @@ CCSize AxisLayout::getSizeHint(CCNode* on) const { axis.crossLength = cross; } } - if (auto l = m_impl->m_autoGrowAxisMinLength) { - length = std::max(length, *l); - } - // No overflow - else { - length = std::min(length, nodeAxis(on, m_impl->m_axis, 1.f).axisLength); - } + // this broke customkeybinds... + // if (auto l = m_impl->m_autoGrowAxisMinLength) { + // length = std::max(length, *l); + // } + // // No overflow + // else { + // length = std::min(length, nodeAxis(on, m_impl->m_axis, 1.f).axisLength); + // } if (!m_impl->m_allowCrossAxisOverflow) { cross = nodeAxis(on, m_impl->m_axis, 1.f).crossLength; }