mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 20:18:47 +02:00
Viewport: Merging/Extracting to/from main host viewport is now performed based on current state rather than triggers. Windows which don't fit in host window are now consistently in their own viewport. Toward simplifying the UpdateSelectWindowViewport() function. Probably broke something.. (#1542)
This commit is contained in:
@ -1195,8 +1195,6 @@ struct IMGUI_API ImGuiWindow
|
||||
ImVec2 ScrollbarSizes; // Size taken by scrollbars on each axis
|
||||
bool ScrollbarX, ScrollbarY;
|
||||
bool ViewportOwned;
|
||||
bool ViewportTryMerge; // Request attempt to merge into a host viewport and destroy our owned viewport
|
||||
bool ViewportTrySplit; // Request attempt to split out of a host viewport and create our owned viewport
|
||||
bool Active; // Set to true on Begin(), unless Collapsed
|
||||
bool WasActive;
|
||||
bool WriteAccessed; // Set to true when any widget access the current window
|
||||
|
Reference in New Issue
Block a user