mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: toolbar cannot rescale a super small stl correctly
1.reason: input box limit the digit of input number, and has a max value limit of scale Change-Id: Ib6f36033ebc9d1621eb0c3359c67ff788518f528
This commit is contained in:
parent
5f5ffc8376
commit
c832a03616
2 changed files with 10 additions and 16 deletions
|
@ -4175,7 +4175,7 @@ bool ImGui::BBLInputScalar(const char *label, ImGuiDataType data_type, void *p_d
|
|||
|
||||
if (format == NULL) format = DataTypeGetInfo(data_type)->PrintFmt;
|
||||
|
||||
char buf[8];
|
||||
char buf[64];
|
||||
DataTypeFormatString(buf, IM_ARRAYSIZE(buf), data_type, p_data, format);
|
||||
|
||||
bool value_changed = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue