mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-09-27 14:52:57 +02:00
Merge branch 'master' into fix/heightmaps
This commit is contained in:
commit
62f382313d
@ -179,8 +179,8 @@ export class MapViewer {
|
||||
handleMapInteraction(screenPosition, data = {}) {
|
||||
let rootOffset = elementOffset(this.rootElement);
|
||||
let normalizedScreenPos = new Vector2(
|
||||
((screenPosition.x - rootOffset.top) / this.rootElement.clientWidth) * 2 - 1,
|
||||
-((screenPosition.y - rootOffset.left) / this.rootElement.clientHeight) * 2 + 1
|
||||
((screenPosition.x - rootOffset.left) / this.rootElement.clientWidth) * 2 - 1,
|
||||
-((screenPosition.y - rootOffset.top) / this.rootElement.clientHeight) * 2 + 1
|
||||
);
|
||||
|
||||
if (this.map && this.map.isLoaded){
|
||||
|
@ -57,11 +57,11 @@ public BlockProperties(
|
||||
}
|
||||
|
||||
public boolean isCulling() {
|
||||
return culling.getOr(true);
|
||||
return culling.getOr(false);
|
||||
}
|
||||
|
||||
public boolean isOccluding() {
|
||||
return occluding.getOr(true);
|
||||
return occluding.getOr(false);
|
||||
}
|
||||
|
||||
public boolean isAlwaysWaterlogged() {
|
||||
|
Loading…
Reference in New Issue
Block a user