parent
fb7d40ddbe
commit
0136877978
@ -574,7 +574,7 @@ namespace ImGuiExt {
|
|||||||
if (IsItemHovered() && (currTime - lastMoveTime) >= 0.5 && hoveredID == lastHoveredID) {
|
if (IsItemHovered() && (currTime - lastMoveTime) >= 0.5 && hoveredID == lastHoveredID) {
|
||||||
if (!std::string_view(text).empty()) {
|
if (!std::string_view(text).empty()) {
|
||||||
const auto width = 300 * hex::ImHexApi::System::getGlobalScale();
|
const auto width = 300 * hex::ImHexApi::System::getGlobalScale();
|
||||||
ImGui::SetNextWindowSizeConstraints(ImVec2(width, 0), ImVec2(width, FLT_MAX));
|
ImGui::SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(width, FLT_MAX));
|
||||||
if (BeginTooltip()) {
|
if (BeginTooltip()) {
|
||||||
if (isSeparator)
|
if (isSeparator)
|
||||||
SeparatorText(text);
|
SeparatorText(text);
|
||||||
|
@ -339,7 +339,7 @@ namespace hex::plugin::builtin {
|
|||||||
// Draw jump to region button
|
// Draw jump to region button
|
||||||
if (ImGuiExt::DimmedIconButton(ICON_VS_DEBUG_STEP_BACK, ImGui::GetStyleColorVec4(ImGuiCol_Text)))
|
if (ImGuiExt::DimmedIconButton(ICON_VS_DEBUG_STEP_BACK, ImGui::GetStyleColorVec4(ImGuiCol_Text)))
|
||||||
ImHexApi::HexEditor::setSelection(region);
|
ImHexApi::HexEditor::setSelection(region);
|
||||||
ImGuiExt::InfoTooltip("hex.builtin.view.bookmarks.tooltip.jump_to"_lang);
|
ImGui::SetItemTooltip("%s", "hex.builtin.view.bookmarks.tooltip.jump_to"_lang.get().c_str());
|
||||||
|
|
||||||
ImGui::SameLine(0, 1_scaled);
|
ImGui::SameLine(0, 1_scaled);
|
||||||
|
|
||||||
@ -358,7 +358,7 @@ namespace hex::plugin::builtin {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
ImGuiExt::InfoTooltip("hex.builtin.view.bookmarks.tooltip.open_in_view"_lang);
|
ImGui::SetItemTooltip("%s", "hex.builtin.view.bookmarks.tooltip.open_in_view"_lang.get().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::SetCursorPos(nextPos);
|
ImGui::SetCursorPos(nextPos);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user