If the x-coordinate of UIMainView is non-0 in MonitorSetup.lua, the mouse click position is different from the actual click position in F10 map or mission editor, is there a way to work around it?
For some reason, a blank space appears on the right side of the map, and you can't click it unless you click on the extra right side.
Actually, I want to use the middle monitor of the triple display as UIMainView, but it occurs even on one monitor.
[sample]
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 2540;
height = 1440;
viewDx = 0;
viewDy = 0;
aspect = screen.width / screen.height;
};
};
GUI =
{
x = 500;
y = Viewports.Center.y;
width = Viewports.Center.width - 500;
height = Viewports.Center.height;
};
UIMainView = GUI;
GU_MAIN_VIEWPORT = GUI;