Skip to content

Resize, redraw, and disabling features#7

Open
Fantoom wants to merge 3 commits intodmitryshelamov:masterfrom
Fantoom:ResizeRedrawDisablingFeatures
Open

Resize, redraw, and disabling features#7
Fantoom wants to merge 3 commits intodmitryshelamov:masterfrom
Fantoom:ResizeRedrawDisablingFeatures

Conversation

@Fantoom
Copy link
Copy Markdown

@Fantoom Fantoom commented Jul 13, 2022

Current behaviour

  • CropService does not change size when adornedElement changes, it stays in same size and place
  • It's not possible to disable cropping

Changes

  • Redraw method in ShadeTool sets shading size to match with canvas
  • Added Redraw method in CropService to be able to redraw it with new size and position
  • Added SetEnabled method in CropService to be able to enabled and disable
  • CropToolControl changes

    • Image Stretch have changed to uniform
    • Added SizeChanged event for SourceImage to redraw CropService

@iliesaya
Copy link
Copy Markdown

iliesaya commented Sep 9, 2024

thank you , i was looking for that , it's working great.

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.

2 participants