summaryrefslogtreecommitdiff
path: root/src/Components/MapObjects.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Components/MapObjects.tsx')
-rw-r--r--src/Components/MapObjects.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Components/MapObjects.tsx b/src/Components/MapObjects.tsx
index 6e9b053..01b23ab 100644
--- a/src/Components/MapObjects.tsx
+++ b/src/Components/MapObjects.tsx
@@ -59,6 +59,7 @@ class MapObjects extends PureComponent<Props> {
onPress={() => onPortalClick(guid, entity.coords)}
style={[selected ? { borderColor: 'red', borderWidth: 4, borderRadius: 13 } : null, { height: 26, width: 26, flex: 1, justifyContent: "center", alignItems: 'center' }]}
zIndex={selected ? 10 : entity.level}
+ anchor={{ x: 0.5, y: 0.5 }}
>
<Image
source={PORTALS[entity.fraction + entity.level]}