[Mesa-dev] [PATCH 14/14] intel: tools: ui: fix edition in memory view
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Thu Aug 2 09:39:26 UTC 2018
Based on https://github.com/ocornut/imgui_club/pull/5
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
src/intel/tools/imgui/imgui_memory_editor.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/tools/imgui/imgui_memory_editor.h b/src/intel/tools/imgui/imgui_memory_editor.h
index 914f03bb8bb..8fa8212f609 100644
--- a/src/intel/tools/imgui/imgui_memory_editor.h
+++ b/src/intel/tools/imgui/imgui_memory_editor.h
@@ -174,7 +174,7 @@ struct MemoryEditor
ImGuiStyle& style = ImGui::GetStyle();
const float footer_height_to_reserve = ImGui::GetStyle().ItemSpacing.y + ImGui::GetFrameHeightWithSpacing(); // 1 separator, 1 input text
- ImGui::BeginChild("##scrolling", ImVec2(0, -footer_height_to_reserve));
+ ImGui::BeginChild("##scrolling", ImVec2(0, -footer_height_to_reserve), false, ImGuiWindowFlags_NoMove);
ImDrawList* draw_list = ImGui::GetWindowDrawList();
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(0, 0));
--
2.18.0
More information about the mesa-dev
mailing list