Improve resize API
This commit is contained in:
1 parent
9d0d53a56c
commit
cb80d08ec9
3 files changed
+17
-17
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user