Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #594 from ElektraInitiative/bugfix/593-placement-o…
Browse files Browse the repository at this point in the history
…f-plantings-is-wrong-and-produces-400-error

fix: wrong placement of plantings
  • Loading branch information
markus2330 authored Jul 9, 2023
2 parents 6bd3a54 + b67f393 commit d8e9e15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Syntax: `- short text describing the change _(Your Name)_`
- Test strategy written _(4ydan)_
- Added Nextcloud integration documentation in `/doc/research/nextcloud_integration.md`_(Samuel)_
- _()_
- _()_
- Fix wrong placement of plantings _(Paul)_
- _()_
- CI: Send email when master fails #109 _(4ydan)_
- _()_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ function usePlantLayerListeners(listening: boolean) {
// TODO: get the selectedLayerId from the store
layerId: selectedLayer.id,
// consider the offset of the stage and size of the element
x: position.x - 50,
y: position.y - 50,
x: Math.round(position.x),
y: Math.round(position.y),
height: 100,
width: 100,
rotation: 0,
Expand Down

0 comments on commit d8e9e15

Please sign in to comment.