diff --git a/src/Widgets/ScrollablePanel.cpp b/src/Widgets/ScrollablePanel.cpp index 2e7278082..22d89b31c 100644 --- a/src/Widgets/ScrollablePanel.cpp +++ b/src/Widgets/ScrollablePanel.cpp @@ -581,6 +581,11 @@ namespace tgui Panel::mouseMoved({pos.x + static_cast(m_horizontalScrollbar->getValue()), pos.y + static_cast(m_verticalScrollbar->getValue())}); } + else // Mouse on top of the borders + { + if (!m_mouseHover) + mouseEnteredWidget(); + } m_verticalScrollbar->mouseNoLongerOnWidget(); m_horizontalScrollbar->mouseNoLongerOnWidget();