Skip to content

Commit

Permalink
3.0.1 - Bug fixes and Pre v4
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Dec 16, 2024
1 parent 903453f commit dd8a4ab
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ const NewMissionModal = (props) => {

dispatch(
setSnackBarText({
text: res.message,
text:
res.message ||
`Successfully added new mission: ${missionName}`,
severity: "success",
})
);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mmgis",
"version": "3.0.0",
"version": "3.0.1",
"description": "A web-based mapping and localization solution for science operation on planetary missions.",
"homepage": "build",
"repository": {
Expand Down
17 changes: 12 additions & 5 deletions src/essence/Tools/Legend/LegendTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,28 @@ var LegendTool = {
toolController.style('right', '5px')
toolContent.style('left', null)
toolContent.style('right', '0px')
} else if (
this.justification != L_.getToolVars('identifier')['justification']
) {
} else {
const toolController = d3
.select('#toolcontroller_sepdiv')
.clone(false)
.attr('id', 'toolcontroller_sepdiv_left')
$('#toolSeparated_Legend').appendTo('#toolcontroller_sepdiv_left')
toolController.style('top', '40px')
toolController.style(
'top',
(L_.getToolVars('identifier')['justification'] || 'left') ==
'left'
? '75px'
: '40px'
)
toolController.style('left', '5px')
toolController.style('right', null)
}
},
make: function (targetId) {
this.targetId = targetId
this.targetId =
typeof targetId === 'string'
? targetId
: '__LegendTool_missing_targetId'
this.MMWebGISInterface = new interfaceWithMMWebGIS()
this.activeLayerNames = []

Expand Down

0 comments on commit dd8a4ab

Please sign in to comment.