Detail windows broken at higher zoom levels, #4224

This commit is contained in:
heckflosse
2018-01-18 19:49:05 +01:00
parent 53ec11eea9
commit 8ee8701141

View File

@@ -426,11 +426,11 @@ bool CropHandler::getWindow (int& cwx, int& cwy, int& cww, int& cwh, int& cskip)
cwh = cropH;
// hack: if called before first size allocation the size will be 0
if (cww < 10) {
if (cww == 0) {
cww = 10;
}
if (cwh < 32) {
if (cwh == 0) {
cwh = 32;
}