summaryrefslogtreecommitdiff
path: root/src/interface
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-03-15 18:48:01 (GMT)
committer jacob1 <jfu614@gmail.com>2013-03-15 18:48:01 (GMT)
commitcd8ea8ad0eb1e8af28c25a75dd2a15bc94c357c4 (patch)
treeacfbb018c0d00ab3fc37f9ba340a5e3d21a102cf /src/interface
parentca9ea8bb8ae457acb27de61f635115e433a8e981 (diff)
downloadpowder-cd8ea8ad0eb1e8af28c25a75dd2a15bc94c357c4.zip
powder-cd8ea8ad0eb1e8af28c25a75dd2a15bc94c357c4.tar.gz
fix scrollbar not showing in scrollpanels if your mouse starts out already ontop of one
Diffstat (limited to 'src/interface')
-rw-r--r--src/interface/Panel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface/Panel.cpp b/src/interface/Panel.cpp
index b78a2cc..d3bf29b 100644
--- a/src/interface/Panel.cpp
+++ b/src/interface/Panel.cpp
@@ -264,6 +264,7 @@ void Panel::OnMouseMoved(int localx, int localy, int dx, int dy)
void Panel::OnMouseMovedInside(int localx, int localy, int dx, int dy)
{
+ mouseInside = true;
for(int i = 0; i < children.size(); ++i)
{
if(!children[i]->Locked)