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

add rotate and scale actions #373

Merged
merged 7 commits into from
Aug 3, 2019
Merged

Conversation

sashadev-sky
Copy link
Member

@sashadev-sky sashadev-sky commented Aug 1, 2019

Fixes #208 (<=== Add issue number here)

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

  • PR is descriptively titled 📑 and links the original issue above 🔗
  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with grunt
  • code is in uniquely-named feature branch and has no merge conflicts 📁
  • screenshots/GIFs are attached 📎 in case of UI updates
  • @mention the original creator of the issue in a comment below for help or for a review

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If tests do fail, click on the red X to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software

Thanks!

changes:

  • this pr allows the user to specify Rotate and Scale actions now in the actions array - they are not just only a keybinding now. But they are still not included in the default actions array.
    image

  • Bug Fix:in my pr Svg stack #353 I removed showToolbar called after every action, but I have realized that now the action icons don't update on keypress, just icon click. This fixes that bug.

  • I removed the EnableEXIF function as a default action until we get it working via Incorporate EXIF functionality (and some refactors) #169

@sashadev-sky sashadev-sky requested a review from rexagod August 1, 2019 22:23
@sashadev-sky
Copy link
Member Author

@rexagod can I get a review here please :) See pr description for details. I updated the index.html file so if you pull it you can easily see the new additions im showing.

Copy link
Member

@rexagod rexagod left a comment

Choose a reason for hiding this comment

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

@sashadev-sky LGTM! Let's get this one in! 👏

@jywarren jywarren merged commit b235daa into publiclab:main Aug 3, 2019
@jywarren
Copy link
Member

jywarren commented Aug 3, 2019

Yay, thanks and great work!

@jywarren
Copy link
Member

jywarren commented Aug 3, 2019

Shall we add this as an example to the README too?

@sashadev-sky
Copy link
Member Author

@jywarren It is already in README that you can add them as extra actions!

@sashadev-sky
Copy link
Member Author

@jywarren note that this PR restored the toolbar icon toggle on hotkey functionality, so we'll want to bump version # and connect to MK

@sashadev-sky sashadev-sky deleted the fixToggleAction branch August 28, 2019 23:44
sashadev-sky added a commit that referenced this pull request Sep 15, 2019
* add rotate and scale actions

* propgation wont fix

* commit

* commit

* remove extra classnames

* commit

* remove extra comma
themacboy pushed a commit to themacboy/Leaflet.DistortableImage that referenced this pull request Sep 19, 2019
* add rotate and scale actions

* propgation wont fix

* commit

* commit

* remove extra classnames

* commit

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

Successfully merging this pull request may close these issues.

icons for Rotate and Scale for custom toolbars
3 participants