From db2167d5f9aacad1165a4783159aaea09b4e34d5 Mon Sep 17 00:00:00 2001 From: Xen0Xys Date: Thu, 2 May 2024 09:40:41 +0200 Subject: [PATCH] :fire: Remove useless default lineWidth for add_moc --- js/models/message_handler.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/models/message_handler.js b/js/models/message_handler.js index d00e806b..3186d499 100644 --- a/js/models/message_handler.js +++ b/js/models/message_handler.js @@ -21,13 +21,11 @@ export default class MessageHandler { handleAddMOCFromURL(msg) { const options = convertOptionNamesToCamelCase(msg["options"] || {}); - if (options["lineWidth"] === undefined) options["lineWidth"] = 3; this.aladin.addMOC(A.MOCFromURL(msg["moc_URL"], options)); } handleAddMOCFromDict(msg) { const options = convertOptionNamesToCamelCase(msg["options"] || {}); - if (options["lineWidth"] === undefined) options["lineWidth"] = 3; this.aladin.addMOC(A.MOCFromJSON(msg["moc_dict"], options)); }