puaLargeInput (textbox) aren't draggable areas
This commit is contained in:
parent
014f366369
commit
cc0b7e0076
1 changed files with 3 additions and 3 deletions
|
@ -193,7 +193,7 @@ puObject *fgPopup::getActiveInputField(puObject *object)
|
||||||
int fgPopup::checkHit(int button, int updown, int x, int y)
|
int fgPopup::checkHit(int button, int updown, int x, int y)
|
||||||
{
|
{
|
||||||
int result = 0;
|
int result = 0;
|
||||||
if (updown != PU_DRAG)
|
if (updown != PU_DRAG && !_dragging)
|
||||||
result = puPopup::checkHit(button, updown, x, y);
|
result = puPopup::checkHit(button, updown, x, y);
|
||||||
|
|
||||||
if (!_draggable)
|
if (!_draggable)
|
||||||
|
@ -210,8 +210,8 @@ int fgPopup::checkHit(int button, int updown, int x, int y)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
int hit = getHitObjects(this, x, y);
|
int hit = getHitObjects(this, x, y);
|
||||||
if (hit & (PUCLASS_BUTTON|PUCLASS_ONESHOT|PUCLASS_INPUT))
|
if (hit & (PUCLASS_BUTTON|PUCLASS_ONESHOT|PUCLASS_INPUT|PUCLASS_LARGEINPUT))
|
||||||
return result;
|
return puPopup::checkHit(button, updown, x, y);
|
||||||
|
|
||||||
getPosition(&_dlgX, &_dlgY);
|
getPosition(&_dlgX, &_dlgY);
|
||||||
getSize(&_dlgW, &_dlgH);
|
getSize(&_dlgW, &_dlgH);
|
||||||
|
|
Loading…
Add table
Reference in a new issue