This commit is contained in:
@@ -99,6 +99,8 @@ Other changes:
|
|||||||
- Default for unselected tabs: TabCloseButtonMinWidthUnselected = 0.0f (visible when hovered)
|
- Default for unselected tabs: TabCloseButtonMinWidthUnselected = 0.0f (visible when hovered)
|
||||||
- Tabs: fixed middle-mouse-button to close tab not checking that close button
|
- Tabs: fixed middle-mouse-button to close tab not checking that close button
|
||||||
is hovered, merely it's visibility. (#8399, #8387) [@nicovanbentum]
|
is hovered, merely it's visibility. (#8399, #8387) [@nicovanbentum]
|
||||||
|
- TextLink(), TextLinkOpenURL(): fixed honoring text baseline alignment.
|
||||||
|
(#8451, #7660) [@achabense]
|
||||||
- TextLinkOpenURL(): fixed default Win32 io.PlatformOpenInShellFn handler to
|
- TextLinkOpenURL(): fixed default Win32 io.PlatformOpenInShellFn handler to
|
||||||
handle UTF-8 regardless of system regional settings. (#7660) [@achabense]
|
handle UTF-8 regardless of system regional settings. (#7660) [@achabense]
|
||||||
- Debug Tools: Added io.ConfigDebugHighlightIdConflictsShowItemPicker (defaults to true)
|
- Debug Tools: Added io.ConfigDebugHighlightIdConflictsShowItemPicker (defaults to true)
|
||||||
|
|||||||
+1
-1
@@ -1444,7 +1444,7 @@ bool ImGui::TextLink(const char* label)
|
|||||||
const ImGuiID id = window->GetID(label);
|
const ImGuiID id = window->GetID(label);
|
||||||
const char* label_end = FindRenderedTextEnd(label);
|
const char* label_end = FindRenderedTextEnd(label);
|
||||||
|
|
||||||
ImVec2 pos = window->DC.CursorPos;
|
ImVec2 pos(window->DC.CursorPos.x, window->DC.CursorPos.y + window->DC.CurrLineTextBaseOffset);
|
||||||
ImVec2 size = CalcTextSize(label, label_end, true);
|
ImVec2 size = CalcTextSize(label, label_end, true);
|
||||||
ImRect bb(pos, pos + size);
|
ImRect bb(pos, pos + size);
|
||||||
ItemSize(size, 0.0f);
|
ItemSize(size, 0.0f);
|
||||||
|
|||||||
Reference in New Issue
Block a user