mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-22 22:42:05 +08:00
add env variable for wider ui
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user