-
-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xrGame/ui/UINewsItemWnd.cpp: compatibility with SOC (#392)
In SOC, there was m_UIDate->AdjustHeightToText() call instead if m_UIDate->AdjustWidthToText(); and additional height calculation: float h2 = m_UIDate->GetWndPos().y + m_UIDate->GetHeight(); which was used in final window height determination h1 = _max(h1,h2); h1 = _max(h1,h3); I didn't implemented this small stuff, because it needs some tests for compatibility with COP. We can add it later if we need.
- Loading branch information
1 parent
415e1c5
commit d8e0342
Showing
1 changed file
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters