From 8b3e37b4205a83d1000bb934ea5a5ae0ed2f56d6 Mon Sep 17 00:00:00 2001 From: Lorenzooone Date: Wed, 17 Apr 2024 13:07:29 +0200 Subject: [PATCH] Fix bug with bottom screen rotation --- source/WindowScreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/WindowScreen.cpp b/source/WindowScreen.cpp index 0138dd9..a46ae45 100755 --- a/source/WindowScreen.cpp +++ b/source/WindowScreen.cpp @@ -742,7 +742,7 @@ void WindowScreen::prepare_size_ratios(bool top_increase, bool bot_increase) { } bool prioritize_top = (!bot_increase) && (top_increase || (this->m_info.bottom_pos == UNDER_TOP) || (this->m_info.bottom_pos == RIGHT_TOP)); if(prioritize_top) - calc_scaling_resize_screens(top_screen_size, bot_screen_size, this->m_info.top_scaling, this->m_info.bot_scaling, this->m_info.top_rotation, this->loaded_info.bot_rotation, top_increase, try_mantain_ratio, this->m_stype == WindowScreen::ScreenType::BOTTOM); + calc_scaling_resize_screens(top_screen_size, bot_screen_size, this->m_info.top_scaling, this->m_info.bot_scaling, this->m_info.top_rotation, this->m_info.bot_rotation, top_increase, try_mantain_ratio, this->m_stype == WindowScreen::ScreenType::BOTTOM); else calc_scaling_resize_screens(bot_screen_size, top_screen_size, this->m_info.bot_scaling, this->m_info.top_scaling, this->m_info.bot_rotation, this->m_info.top_rotation, bot_increase, try_mantain_ratio, this->m_stype == WindowScreen::ScreenType::TOP); }