epam / epam/Indigo

The position of the structures with (0.0) coordinates of structure atoms is changed when Clean Up is applied

Open
#283 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to reproduce:**
1. Open a file with a structure where structure atoms have (0,0) coordinates (see attached files “m15-2000.mol”, “m25-2000.mol”). [m15-2000.zip](https://github.com/epam/Indigo/files/5750919/m15-2000.zip) [m25-2000.zip](https://github.com/epam/Indigo/files/5750922/m25-2000.zip)
2. Click 'Clean Up' button.

**Actual result:**
The appearance of the structure is not changed, and it is moved to the upper edge of the canvas.
![2020-12-29_16h59_21](https://user-images.githubusercontent.com/75974843/103289053-5a8ef480-49f7-11eb-8ad3-0cd68d47fffc.gif)

**Expected result:**
The structure is not redrawn; its position on the canvas is not changed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.