|
@@ -150,7 +150,8 @@ bool BlockBox::is_scrollable() const
|
|
|
|
|
|
void BlockBox::set_scroll_offset(const Gfx::FloatPoint& offset)
|
|
|
{
|
|
|
- if (m_scroll_offset == offset)
|
|
|
+ // FIXME: If there is horizontal and vertical scroll ignore only part of the new offset
|
|
|
+ if (offset.y() < 0 || m_scroll_offset == offset)
|
|
|
return;
|
|
|
m_scroll_offset = offset;
|
|
|
set_needs_display();
|