disable border drag gap editing when in a gapless layout
This commit is contained in:
parent
18b7aefa78
commit
907657f63b
|
@ -3693,13 +3693,13 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
||||||
minY = video.rotatedheightgap() / 2;
|
minY = video.rotatedheightgap() / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(verticalDrag && !sideways && SeparationBorderDrag)
|
if(verticalDrag && !sideways && SeparationBorderDrag && video.layout == 0)
|
||||||
{
|
{
|
||||||
forceRatioFlags |= WINCLASS::KEEPX;
|
forceRatioFlags |= WINCLASS::KEEPX;
|
||||||
minY = (MainScreenRect.bottom - MainScreenRect.top) + (SubScreenRect.bottom - SubScreenRect.top);
|
minY = (MainScreenRect.bottom - MainScreenRect.top) + (SubScreenRect.bottom - SubScreenRect.top);
|
||||||
setGap = true;
|
setGap = true;
|
||||||
}
|
}
|
||||||
else if(horizontalDrag && sideways && SeparationBorderDrag)
|
else if(horizontalDrag && sideways && SeparationBorderDrag && video.layout == 0)
|
||||||
{
|
{
|
||||||
forceRatioFlags |= WINCLASS::KEEPY;
|
forceRatioFlags |= WINCLASS::KEEPY;
|
||||||
minX = (MainScreenRect.right - MainScreenRect.left) + (SubScreenRect.right - SubScreenRect.left);
|
minX = (MainScreenRect.right - MainScreenRect.left) + (SubScreenRect.right - SubScreenRect.left);
|
||||||
|
|
Loading…
Reference in New Issue