fine tune the default linewidth values

This commit is contained in:
Matthieu Baumann
2025-08-29 16:03:52 +02:00
parent f3e1ecf94c
commit 68c724c478
2 changed files with 3 additions and 3 deletions

View File

@@ -736,7 +736,7 @@ export let Aladin = (function () {
gridOptions: {
enabled: false,
showLabels: true,
thickness: 2,
thickness: 1,
labelSize: 15,
},
projection: "SIN",

View File

@@ -26,7 +26,7 @@ import { ALEvent } from "./events/ALEvent.js";
* @property {Boolean} [perimeter=false] - Draw the perimeter of the MOC only with `options.color`.
* @property {string} [edge=!fill && !perimeter] - Draw the edges of the HEALPix cells with `options.color`.
The HEALPix cell edges compositing the MOC will be drawn if `fill` and `perimeter` are false
* @property {number} [lineWidth=2] - The line width in pixels
* @property {number} [lineWidth=1] - The line width in pixels
* @property {number} [opacity=1.0] - The opacity of the colors
*/
@@ -93,7 +93,7 @@ export let MOC = (function() {
}
this.opacity = Math.max(0, Math.min(1, this.opacity)); // 0 <= this.opacity <= 1
this.lineWidth = options["lineWidth"] || 2;
this.lineWidth = options["lineWidth"] || 1;
//this.proxyCalled = false; // this is a flag to check whether we already tried to load the MOC through the proxy