Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix shape disappear if there was no image #1725

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

adm90
Copy link
@adm90 adm90 commented Oct 6, 2021

Thank you for always great tools.
We have tried to fix the bug, so please check it.

Fixes #1252

image

Fix shape disappear if there was no image.
It also fixes an issue where image reference links would appear broken when some images were deleted.

Repro before correction

This file is No-Image, shape only.

  • Expect: Keep shapes.
  • Actual: All shapes disappear.
    image

Delete only one image when there are multiple images.

(Added Test case CanDeletePictureOnlyOne)

  • Expect: One image is delete.

  • Actual: Image link is not deleted.
    image

  • After correction:
    image

It also fixes an issue where image reference links would appear broken when some images were deleted.
@rominator1983
Copy link
Contributor

I pulled your commit to here stesee#20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Does save or save as not support saving shape?
2 participants