Skip to content

Commit

Permalink
Fix gaps between tiles (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarciabriseno authored Jan 26, 2024
1 parent 974af63 commit 309ad31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions resources/css/helioviewer-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ a.light:hover {
left: 0px;
display: block;
overflow: visible;
mix-blend-mode: plus-lighter;
-moz-user-select: none;
}

Expand Down
2 changes: 0 additions & 2 deletions resources/js/Viewport/CelestialBodiesSatellites.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,6 @@ var CelestialBodiesSatellites = Class.extend(
},

_replotCoordinates: function(){
console.log("Called replot coordinates");
var self = this;
var currentRequestTime = helioviewer.timeControls.getTimestamp();

Expand Down Expand Up @@ -568,7 +567,6 @@ var CelestialBodiesSatellites = Class.extend(
}

var observers = Object.keys(this.trajectories);
console.log(observers);
for(var observer of observers){
var bodies = Object.keys(this.trajectories[observer]);
for(var body of bodies){
Expand Down
4 changes: 2 additions & 2 deletions resources/js/Viewport/Helper/HelioviewerZoomer.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@

_updateScaleForElementWithId(id, scale) {
let el = document.getElementById(id);
el.style.transform = "scale(" + scale + ")";
el.style.transform = "scale3d(" + scale + ", " + scale + ", 1)";
}

/**
Expand Down Expand Up @@ -164,7 +164,7 @@
} else {
Helioviewer.userSettings.set('mobileZoomScale', scale);
this._scale = scale;
this._mc.style.transform = "scale(" + this._scale + ")";
this._updateScaleForElementWithId(this._mc.id, scale);
this._updateUIScale(scale);
this._updateReferenceScale(scale)
$(document).trigger('update-viewport');
Expand Down

0 comments on commit 309ad31

Please sign in to comment.