(uart, debug) first part of fixes after code review

- remove `uart_status` from eu7_application class
- remove copy&pasted `m_scenariopanel` size settings
- remove unnecessary code `debug_panel::render_section_uart()`
- remove #ifdef from `driveruipanels.h` textlines
- set `data_pending` to false when establishing a new connection
This commit is contained in:
Marcin Nowak
2022-04-16 01:28:42 +02:00
parent ddd8d77e3b
commit 7bd1e43dcf
6 changed files with 21 additions and 35 deletions

View File

@@ -40,9 +40,6 @@ driver_ui::driver_ui() {
m_aidpanel.title = STR("Driving Aid");
m_scenariopanel.size_min = { 435, 50 };
m_scenariopanel.size_max = { Global.fb_size.x * 0.95f, Global.fb_size.y * 0.95 };
m_scenariopanel.title = STR("Scenario");
m_scenariopanel.size_min = { 435, 85 };
m_scenariopanel.size_max = { Global.fb_size.x * 0.95f, Global.fb_size.y * 0.95 };