add env variable for wider ui

old-commit-hash: 9159094b62
commatwo_master
Willem Melching 4 years ago
parent ff5656b0f8
commit d7d0e0a047
  1. 3
      selfdrive/ui/qt/qt_window.h

@ -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) {

Loading…
Cancel
Save