mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-19 01:24:12 +02:00
Map Editor Mouse Control expands to the entire window.
This commit is contained in:
@@ -141,7 +141,7 @@ void MapEditClass::One_Time(void)
|
|||||||
** The map: a single large "button"
|
** The map: a single large "button"
|
||||||
*/
|
*/
|
||||||
#ifdef WIN32
|
#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
|
#else
|
||||||
MapArea = new ControlClass(MAP_AREA, 0, 8, 312, 192, GadgetClass::LEFTPRESS | GadgetClass::LEFTRELEASE, false);
|
MapArea = new ControlClass(MAP_AREA, 0, 8, 312, 192, GadgetClass::LEFTPRESS | GadgetClass::LEFTRELEASE, false);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user