add env variable for wider ui

old-commit-hash: 9159094b62
This commit is contained in:
Willem Melching
2021-06-22 11:14:44 +02:00
parent ff5656b0f8
commit d7d0e0a047
+1 -2
View File
@@ -13,8 +13,7 @@
#include "selfdrive/hardware/hw.h"
// const int vwp_w = Hardware::TICI() ? 2160 : 1920;
const int vwp_w = 2160;
const int vwp_w = (Hardware::TICI() || (getenv("WIDE_UI") != NULL)) ? 2160 : 1920;
const int vwp_h = 1080;
inline void setMainWindow(QWidget *w) {