Fix markers on nanomaps to the new map size of 140.

This commit is contained in:
Leshana
2018-04-29 00:07:56 -04:00
parent 1849e1280e
commit 048bd62fe2
2 changed files with 8 additions and 8 deletions

View File

@@ -151,7 +151,7 @@
return ..() return ..()
// For making the 6-in-1 holomap, we calculate some offsets // For making the 6-in-1 holomap, we calculate some offsets
#define TETHER_MAP_SIZE 120 // Width and height of compiled in tether z levels. #define TETHER_MAP_SIZE 140 // Width and height of compiled in tether z levels.
#define TETHER_HOLOMAP_CENTER_GUTTER 40 // 40px central gutter between columns #define TETHER_HOLOMAP_CENTER_GUTTER 40 // 40px central gutter between columns
#define TETHER_HOLOMAP_MARGIN_X ((HOLOMAP_ICON_SIZE - (2*TETHER_MAP_SIZE) - TETHER_HOLOMAP_CENTER_GUTTER) / 2) // 100 #define TETHER_HOLOMAP_MARGIN_X ((HOLOMAP_ICON_SIZE - (2*TETHER_MAP_SIZE) - TETHER_HOLOMAP_CENTER_GUTTER) / 2) // 100
#define TETHER_HOLOMAP_MARGIN_Y ((HOLOMAP_ICON_SIZE - (3*TETHER_MAP_SIZE)) / 2) // 60 #define TETHER_HOLOMAP_MARGIN_Y ((HOLOMAP_ICON_SIZE - (3*TETHER_MAP_SIZE)) / 2) // 60

View File

@@ -70,9 +70,9 @@ body {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
margin: -240px 0 0 -240px; /* VOREStation Edit - Tether map is small */ margin: -280px 0 0 -280px; /* VOREStation Edit - Tether map is small */
width: 120px; /* VOREStation Edit - Tether map is small */ width: 140px; /* VOREStation Edit - Tether map is small */
height: 120px; /* VOREStation Edit - Tether map is small */ height: 140px; /* VOREStation Edit - Tether map is small */
overflow: hidden; overflow: hidden;
zoom: 4; zoom: 4;
} }
@@ -81,16 +81,16 @@ body {
position: absolute; position: absolute;
bottom: 1px; bottom: 1px;
left: 1px; left: 1px;
width: 120px; /* VOREStation Edit - Tether map is small */ width: 140px; /* VOREStation Edit - Tether map is small */
height: 120px; /* VOREStation Edit - Tether map is small */ height: 140px; /* VOREStation Edit - Tether map is small */
} }
#uiMapContent { #uiMapContent {
position: absolute; position: absolute;
bottom: 0px; bottom: 0px;
left: 0px; left: 0px;
width: 120px; /* VOREStation Edit - Tether map is small */ width: 140px; /* VOREStation Edit - Tether map is small */
height: 120px; /* VOREStation Edit - Tether map is small */ height: 140px; /* VOREStation Edit - Tether map is small */
} }
#uiMapFooter { #uiMapFooter {