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

Remove scale property from Apollon #307

Merged
merged 18 commits into from
Oct 15, 2023
Merged

Conversation

matthiaslehnertum
Copy link
Collaborator

@matthiaslehnertum matthiaslehnertum commented Oct 3, 2023

Disclaimer:

This PR is based off of and includes changes from #302. Reviewing this changes should become drastically easier once the base PR is merged.

Checklist

  • I documented the TypeScript code using JSDoc style.
  • I added multiple screenshots/screencasts of my UI changes
  • I translated all the newly inserted strings into German and English

Motivation and Context

Description

This PR removes the existing scale factor implementation entirely as it is no longer needed with the new canvas zooming approach.

Steps for Testing

As this change does not change existing functionality nor add new functionality but rather only removes no longer used code, the most sensible way to test this change is by making sure the editor still behaves as expected.

Test Coverage

File Branch Line

Screenshots

@matthiaslehnertum matthiaslehnertum marked this pull request as ready for review October 4, 2023 21:21
# Conflicts:
#	public/styles.css
#	src/main/components/canvas/editor.tsx
#	src/main/components/canvas/zoom-pane.tsx
#	src/main/components/connectable/connection-preview.tsx
#	src/main/components/uml-element/movable/movable.tsx
#	src/main/services/editor/editor-reducer.ts
#	src/main/services/editor/editor-repository.ts
#	src/main/services/editor/editor-types.ts
#	src/main/utils/clamp.ts
#	src/tests/unit/components/update-pane/__snapshots__/update-pane-test.tsx.snap
Copy link
Contributor

@loreanvictor loreanvictor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

besides the commented lines, everything else seems to be fine.

src/main/components/canvas/editor.tsx Outdated Show resolved Hide resolved
@matthiaslehnertum matthiaslehnertum merged commit 90b1ad1 into develop Oct 15, 2023
3 checks passed
@matthiaslehnertum matthiaslehnertum deleted the feature/remove-scale branch October 15, 2023 14:01
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