Columns: Column width data is no longer lost while dragging toward the right side. (#1499, #125)

This commit is contained in:
omar
2017-12-13 21:51:23 +01:00
parent ba71e1c0e4
commit ddbcda8c1b
2 changed files with 23 additions and 5 deletions

View File

@ -414,10 +414,11 @@ struct ImGuiPopupRef
struct ImGuiColumnData
{
float OffsetNorm; // Column start offset, normalized 0.0 (far left) -> 1.0 (far right)
float OffsetNorm; // Column start offset, normalized 0.0 (far left) -> 1.0 (far right)
float OffsetNormBeforeResize;
ImRect ClipRect;
ImGuiColumnData() { OffsetNorm = 0.0f; }
ImGuiColumnData() { OffsetNorm = OffsetNormBeforeResize = 0.0f; }
};
struct ImGuiColumnsSet