Skip to content
Snippets Groups Projects
Commit 0ae508c9 authored by James Cook's avatar James Cook
Browse files

Revert partial fix for EXT-2572 (chat history text clipping) that causes EXT-1597

(script editor scrolls upward while typing)
Backed out changeset: e38642e0c21c
parent 87ed47c9
No related branches found
No related tags found
No related merge requests found
......@@ -111,8 +111,7 @@ LLScrollContainer::LLScrollContainer(const LLScrollContainer::Params& p)
LLView::addChild( mBorder );
mInnerRect.set( 0, getRect().getHeight(), getRect().getWidth(), 0 );
if ( mBorder->getVisible() )
mInnerRect.stretch( -mBorder->getBorderWidth() );
mInnerRect.stretch( -mBorder->getBorderWidth() );
LLRect vertical_scroll_rect = mInnerRect;
vertical_scroll_rect.mLeft = vertical_scroll_rect.mRight - scrollbar_size;
......@@ -190,8 +189,7 @@ void LLScrollContainer::reshape(S32 width, S32 height,
LLUICtrl::reshape( width, height, called_from_parent );
mInnerRect = getLocalRect();
if ( mBorder->getVisible() )
mInnerRect.stretch( -mBorder->getBorderWidth() );
mInnerRect.stretch( -mBorder->getBorderWidth() );
if (mScrolledView)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment