mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
impr: Remove border from (?) hover button
This commit is contained in:
@@ -511,6 +511,7 @@ namespace ImGuiExt {
|
||||
PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(0, 0, 0, 0));
|
||||
PushStyleColor(ImGuiCol_ButtonActive, ImVec4(0, 0, 0, 0));
|
||||
PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(0, GetStyle().FramePadding.y));
|
||||
PushStyleVar(ImGuiStyleVar_FrameBorderSize, 0.0F);
|
||||
|
||||
PushStyleColor(ImGuiCol_Text, iconColor);
|
||||
Button("(?)");
|
||||
@@ -523,7 +524,7 @@ namespace ImGuiExt {
|
||||
EndTooltip();
|
||||
}
|
||||
|
||||
PopStyleVar();
|
||||
PopStyleVar(2);
|
||||
PopStyleColor(3);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user