Improve resize API

This commit is contained in:
SpaiR committed 2020-01-04 21:23:32 +03:00
1 parent 9d0d53a56c
commit cb80d08ec9
3 files changed
+17 -17

No files matched your search

+3 -1
View File
@@ -2473,7 +2473,9 @@ public final class ImGui {
if (inputData.isResized) {
inputData.isResized = false;
text.resize(nGetResizeValue(), true);
final int resizeValue = nGetResizeValue();
text.resize(resizeValue + inputData.resizeFactor);
inputData.size = resizeValue;
}
return hasInput;