mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 00:53:52 +00:00
fix(editor): NPC default scale 3x, right-side panels track window resize
- NPC default scale changed from 1.0 to 3.0 so creatures are visible from typical editing altitude (WoW creature models are very small at scale 1.0) - Properties/Info panel uses ImGuiCond_Always for position so it stays pinned to the right edge when the window is resized (was getting lost off-screen before)
This commit is contained in:
parent
befa12f9e6
commit
fe91fda421
2 changed files with 2 additions and 2 deletions
|
|
@ -1050,7 +1050,7 @@ void EditorUI::renderMinimap(EditorApp& app) {
|
|||
|
||||
void EditorUI::renderPropertiesPanel(EditorApp& app) {
|
||||
ImGuiViewport* vp = ImGui::GetMainViewport();
|
||||
ImGui::SetNextWindowPos(ImVec2(vp->Size.x - 280, 90), ImGuiCond_FirstUseEver);
|
||||
ImGui::SetNextWindowPos(ImVec2(vp->Size.x - 280, 90), ImGuiCond_Always);
|
||||
ImGui::SetNextWindowSize(ImVec2(270, 220), ImGuiCond_FirstUseEver);
|
||||
if (ImGui::Begin("Info")) {
|
||||
auto* tr = app.getTerrainRenderer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue