improved input handling
This commit is contained in:
parent
7071d99422
commit
4dc6b815da
1 changed files with 1 additions and 1 deletions
2
external/imgui/imgui_user.inl
vendored
2
external/imgui/imgui_user.inl
vendored
|
@ -141,7 +141,7 @@ namespace ImGuiEx {
|
|||
}();
|
||||
const ImVec2 half_extents(NODE_PIN_RADIUS, NODE_PIN_RADIUS);
|
||||
ItemAdd(ImRect(center - half_extents, center + half_extents), id);
|
||||
const bool hovered = IsItemHovered();
|
||||
const bool hovered = IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByActiveItem);
|
||||
ImGuiStyle& style = GetStyle();
|
||||
const ImU32 color = GetColorU32(hovered ? ImGuiCol_TabHovered : ImGuiCol_Tab);
|
||||
switch(shape) {
|
||||
|
|
Loading…
Reference in a new issue