disable dragging margins on non resizable dialogs
This commit is contained in:
parent
390c1f4d1f
commit
aa6e5fb528
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ int fgPopup::checkHit(int button, int updown, int x, int y)
|
||||||
};
|
};
|
||||||
|
|
||||||
_resizing = 0;
|
_resizing = 0;
|
||||||
if (!global_drag) {
|
if (!global_drag && _resizable) {
|
||||||
int hmargin = global_resize ? _dlgW / 3 : 10;
|
int hmargin = global_resize ? _dlgW / 3 : 10;
|
||||||
int vmargin = global_resize ? _dlgH / 3 : 10;
|
int vmargin = global_resize ? _dlgH / 3 : 10;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue