From: mfranz Date: Tue, 20 Jan 2009 14:23:24 +0000 (+0000) Subject: one more PUCLASS exception (not that we used puaScrollBar yet) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b8c0e67cdca89f7699fa58a99383b45b3dccde07;p=flightgear.git one more PUCLASS exception (not that we used puaScrollBar yet) --- diff --git a/src/GUI/dialog.cxx b/src/GUI/dialog.cxx index f4bc829a3..9ea0b4451 100644 --- a/src/GUI/dialog.cxx +++ b/src/GUI/dialog.cxx @@ -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);