Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
fix #682
Browse files Browse the repository at this point in the history
  • Loading branch information
hans-permana committed Aug 13, 2018
1 parent be377e6 commit 4c1b9a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
## Changes in 2.0.0-dev.16 (in development)
## Changes in 2.0.0-dev.17 (in development)

* Fixed issue that caused longitude value to change unexpectedly when latitude value is set on a placemark [#682]
(https://github.com/CCI-Tools/cate/issues/682)

## Changes in 2.0.0-dev.16

* Fixed issue in **STYLES** panel that caused UI to hang if min and max were equal
* Fixed issue with unresponsive or slow **WORKSPACE** panel / **Workflow Steps** tab renderings,
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/containers/PlacemarksPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class PlacemarksPanel extends React.Component<IPlacemarksPanelProps & IPlacemark
private handleChangedPointLatitude(latitude: NumericFieldValue) {
const placemark = this.props.selectedPlacemark;
let geometry = placemark.geometry;
geometry = {...geometry, coordinates: [geometry.coordinates[1], latitude.value]};
geometry = {...geometry, coordinates: [geometry.coordinates[0], latitude.value]};
this.props.dispatch(actions.updatePlacemarkGeometry(placemark.id, geometry));
}

Expand Down

0 comments on commit 4c1b9a7

Please sign in to comment.