Map Editor Mouse Control expands to the entire window.

This commit is contained in:
Justin Marshall
2020-06-08 18:40:29 -07:00
parent 797ba8fa64
commit 562af3f7bf
+1 -1
View File
@@ -141,7 +141,7 @@ void MapEditClass::One_Time(void)
** The map: a single large "button"
*/
#ifdef WIN32
MapArea = new ControlClass(MAP_AREA, 0, 8, 640-8, 400-8, GadgetClass::LEFTPRESS | GadgetClass::LEFTRELEASE, false);
MapArea = new ControlClass(MAP_AREA, 0, 8, ScreenWidth-8, ScreenHeight-8, GadgetClass::LEFTPRESS | GadgetClass::LEFTRELEASE, false);
#else
MapArea = new ControlClass(MAP_AREA, 0, 8, 312, 192, GadgetClass::LEFTPRESS | GadgetClass::LEFTRELEASE, false);
#endif