summaryrefslogtreecommitdiffhomepage
path: root/editor/imgui-scenery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/imgui-scenery.cpp')
-rw-r--r--editor/imgui-scenery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/imgui-scenery.cpp b/editor/imgui-scenery.cpp
index f7577a04..85e7516f 100644
--- a/editor/imgui-scenery.cpp
+++ b/editor/imgui-scenery.cpp
@@ -19,7 +19,7 @@ void app::draw_editor_scenery_pane(scenery_editor& ed)
constexpr int ncolumns = 4;
const auto size = ImGui::GetWindowSize();
auto b2 = imgui::begin_table("scenery-table", ncolumns, flags, size);
- const auto row_height = ImGui::GetCurrentContext()->FontSize + 10*dpi;
+ const auto row_height = ImGui::GetCurrentContext()->FontSize + 10*dpi[1];
constexpr auto thumbnail_width = 50;
const auto colwidth_type = ImGui::CalcTextSize("generic").x;
const auto colwidth_group = ImGui::CalcTextSize("MMMMMMMMMMMMMMM").x;