We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6edb3f0 commit 12b6001Copy full SHA for 12b6001
src/main/prop/multi/Padding.cpp
@@ -357,6 +357,7 @@ namespace lsp
357
ssize_t hor = (sValue.nLeft + sValue.nRight) * scale;
358
ssize_t vert = (sValue.nTop + sValue.nBottom) * scale;
359
dst->nLeft = src->nLeft;
360
+ dst->nTop = src->nTop;
361
dst->nHeight = src->nHeight;
362
dst->nWidth = lsp_max(0, src->nWidth + hor );
363
dst->nHeight = lsp_max(0, src->nHeight + vert);
@@ -368,6 +369,7 @@ namespace lsp
368
369
370
371
372
373
374
dst->nWidth = lsp_max(0, src->nWidth - hor );
375
dst->nHeight = lsp_max(0, src->nHeight - vert);
0 commit comments