mirror of
https://github.com/ocornut/imgui.git
synced 2026-04-02 05:27:40 -05:00
Merge branch 'master' into docking
# Conflicts: # imgui.cpp
This commit is contained in:
@@ -41,6 +41,14 @@ HOW TO UPDATE?
|
||||
|
||||
Breaking changes:
|
||||
|
||||
- ColorEdit, ColorPicker: redesigned how alpha is displayed in the preview square. (#8335, #1578, #346)
|
||||
- Removed ImGuiColorEditFlags_AlphaPreview (made value 0): it is now the default behavior.
|
||||
- Prior to 1.91.8: alpha was made opaque in the preview by default _unless_ using ImGuiColorEditFlags_AlphaPreview.
|
||||
- We now display the preview as transparent by default. You can use ImGuiColorEditFlags_AlphaOpaque to use old behavior.
|
||||
- The new flags may be combined better and allow finer controls:
|
||||
- ImGuiColorEditFlags_AlphaOpaque: disable alpha in the preview, but alpha value still editable.
|
||||
- ImGuiColorEditFlags_AlphaNoBg: disable rendering a checkerboard background behind transparent color.
|
||||
- ImGuiColorEditFlags_AlphaPreviewHalf: display half opaque / half transparent preview.
|
||||
- Backends: SDLGPU3: Renamed ImGui_ImplSDLGPU3_InitInfo::GpuDevice to Device
|
||||
for consistency. (#8163, #7998, #7988)
|
||||
|
||||
@@ -51,9 +59,20 @@ Other changes:
|
||||
snapped to pixels. Effectively it would only be noticeable when hinting
|
||||
is disabled with ImGuiFreeTypeBuilderFlags_NoHinting, as hinting itself
|
||||
snaps glyph advances.
|
||||
- Inputs: added IsMouseReleasedWithDelay() helper. (#8337, #8320)
|
||||
Use if you absolutely need to distinguish single-click from double-clicks
|
||||
by introducing a delay. This is a very rarely used UI idiom, but some apps
|
||||
use this: e.g. MS Explorer single-click on an icon triggers a rename.
|
||||
Generally use with 'delay >= io.MouseDoubleClickTime' + combine with a
|
||||
'io.MouseClickedLastCount == 1' check.
|
||||
- Windows: legacy SetWindowFontScale() is properly inherited by nested child
|
||||
windows. Note that an upcoming major release should make this obsolete,
|
||||
but in the meanwhile it works better now. (#2701, #8138, #1018)
|
||||
- ColorEdit, ColorPicker: Fixed alpha preview broken in 1.91.7. (#8336, #8241). [@PathogenDavid]
|
||||
- Tabs, Style: reworked selected overline rendering to better accommodate
|
||||
for rounded tabs. Reduced default thickness (style.TabBarOverlineSize),
|
||||
increased default rounding (style.TabRounding). (#8334) [@Kian738, @ocornut]
|
||||
styles as the current look is not right (but ImGuiCol_TabSelectedOverline stays the same).
|
||||
- Examples: DirectX12: Reduced number of frame in flight from 3 to 2 in
|
||||
provided example, to reduce latency.
|
||||
- Backends+Examples: Vulkan: better handle VK_SUBOPTIMAL_KHR being returned by
|
||||
|
||||
Reference in New Issue
Block a user