]> git.mxchange.org Git - flightgear.git/commitdiff
one more PUCLASS exception (not that we used puaScrollBar yet)
authormfranz <mfranz>
Tue, 20 Jan 2009 14:23:24 +0000 (14:23 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 21 Jan 2009 08:55:33 +0000 (09:55 +0100)
src/GUI/dialog.cxx

index f4bc829a3075300f40c5893999f47b6a463021ee..9ea0b445129d1370978d8a54d571651b26d59866 100644 (file)
@@ -214,7 +214,8 @@ int fgPopup::checkHit(int button, int updown, int x, int y)
         int hit = getHitObjects(this, x, y);
         if (hit & PUCLASS_LIST)  // ctrl-click in property browser (toggle bool)
             return result;
-        if (!global_resize && hit & (PUCLASS_BUTTON|PUCLASS_ONESHOT|PUCLASS_INPUT|PUCLASS_LARGEINPUT))
+        if (!global_resize && hit & (PUCLASS_BUTTON|PUCLASS_ONESHOT|PUCLASS_INPUT
+                |PUCLASS_LARGEINPUT|PUCLASS_SCROLLBAR))
             return result;
 
         getPosition(&_dlgX, &_dlgY);