mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Revert "Avoid stack-overflow when updating UIHTMLWidget::updateOutOfFlowPosition."
This reverts commit eb2b919354.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#include <eepp/system/scopedop.hpp>
|
||||
#include <eepp/ui/css/propertydefinition.hpp>
|
||||
#include <eepp/ui/css/stylesheetlength.hpp>
|
||||
#include <eepp/ui/uihtmlwidget.hpp>
|
||||
@@ -352,12 +351,9 @@ void UIHTMLWidget::positionOutOfFlowChildren() {
|
||||
}
|
||||
|
||||
void UIHTMLWidget::updateOutOfFlowPosition() {
|
||||
if ( mPacking )
|
||||
return;
|
||||
UIWidget* cb = getContainingBlock();
|
||||
if ( !cb )
|
||||
return;
|
||||
BoolScopedOp op( mPacking );
|
||||
|
||||
Rectf cbContentOffset = cb->getPixelsContentOffset();
|
||||
Float cbContentWidth =
|
||||
|
||||
Reference in New Issue
Block a user