fix: Welcome screen close button position
This commit is contained in:
parent
d798713c60
commit
eeab529bfa
@ -332,7 +332,7 @@ namespace hex::plugin::builtin {
|
|||||||
ImGui::EndTable();
|
ImGui::EndTable();
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::SetCursorPos(ImVec2(ImGui::GetContentRegionAvail().x + ImGui::GetStyle().FramePadding.x, ImGui::GetStyle().FramePadding.y * 2 - 1));
|
ImGui::SetCursorPos(ImVec2(ImGui::GetContentRegionAvail().x - ImGui::GetStyle().FramePadding.x * 2, ImGui::GetStyle().FramePadding.y * 2 - 1));
|
||||||
if (ImGuiExt::DimmedIconButton(ICON_VS_CLOSE, ImGuiExt::GetCustomColorVec4(ImGuiCustomCol_ToolbarRed))) {
|
if (ImGuiExt::DimmedIconButton(ICON_VS_CLOSE, ImGuiExt::GetCustomColorVec4(ImGuiCustomCol_ToolbarRed))) {
|
||||||
auto provider = ImHexApi::Provider::createProvider("hex.builtin.provider.null");
|
auto provider = ImHexApi::Provider::createProvider("hex.builtin.provider.null");
|
||||||
if (provider != nullptr)
|
if (provider != nullptr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user