mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 21:05:56 -05:00
impr: Better UI for the Welcome screen
This commit is contained in:
@@ -215,10 +215,15 @@ namespace hex {
|
||||
return HTBOTTOMRIGHT;
|
||||
case RegionClient:
|
||||
default:
|
||||
if ((cursor.y < (window.top + g_titleBarHeight * 2)) && !ImGui::IsAnyItemHovered() && (hoveredWindowName == "##MainMenuBar" || hoveredWindowName == "ImHexDockSpace"))
|
||||
return HTCAPTION;
|
||||
else
|
||||
break;
|
||||
if (cursor.y < (window.top + g_titleBarHeight * 2)) {
|
||||
if (hoveredWindowName == "##MainMenuBar" || hoveredWindowName == "ImHexDockSpace") {
|
||||
if (!ImGui::IsAnyItemHovered()) {
|
||||
return HTCAPTION;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user