Fixes to generate preview

This commit is contained in:
2025-09-05 20:07:49 -04:00
parent a992661c6a
commit 4d098f8f1c
3 changed files with 23 additions and 9 deletions

View File

@@ -500,6 +500,7 @@ struct ImguiItem
ImguiPopupType popupType = IMGUI_POPUP_CENTER_WINDOW;
bool isDisabled = false;
bool isMnemonicDisabled = false;
bool isEmptyFormat = false;
bool isSelected = false;
bool isUseItemActivated = false;
bool isSizeToText = false;
@@ -794,6 +795,7 @@ IMGUI_ITEM(IMGUI_GENERATE_ANIMATION_FROM_GRID_SLIDER,
self.max = GENERATE_PREVIEW_TIME_MAX,
self.value = GENERATE_PREVIEW_TIME_MIN,
self.rowCount = 1,
self.isEmptyFormat = true,
self.flags = ImGuiSliderFlags_NoInput
);