Skip to content

Conversation

@kyleplo
Copy link
Contributor

@kyleplo kyleplo commented Oct 8, 2018

Resolves

Proposed Changes

This pull request flips the direction of the loading blocks on right-to-left languages

Reason for Changes

This makes the blocks not look strange, and also look more like the real RTL blocks.

Test Coverage

image

Browser Coverage

Check the OS/browser combinations tested (At least 2)

Mac

  • Chrome
  • Firefox
  • Safari

Windows

  • Chrome
  • Firefox
  • Edge

Chromebook

  • Chrome

iPad

  • Safari

Android Tablet

  • Chrome

Copy link
Contributor

@chrisgarrity chrisgarrity left a comment

Choose a reason for hiding this comment

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

It's not working for me (MacOS Chrome). Hopefully this gif captures what's going on. The blocks rotate back to LTR partway through the animation. (sorry I forgot to turn on autorepeat, click the image to see it again)
loading-rtl

You may just need a transform: scaleX(-1) to flip the direction of the block on all the blocks, and leave all the animations as they are.

@kyleplo
Copy link
Contributor Author

kyleplo commented Oct 11, 2018

Should work now

@chrisgarrity chrisgarrity assigned chrisgarrity and unassigned kyleplo Oct 19, 2018
Copy link
Contributor

@chrisgarrity chrisgarrity left a comment

Choose a reason for hiding this comment

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

Looks great!

@chrisgarrity chrisgarrity merged commit e810c5e into scratchfoundation:develop Oct 19, 2018
chrisgarrity pushed a commit to chrisgarrity/scratch-gui that referenced this pull request Oct 19, 2018
)

* Make loader blocks mirrored on RTL

* Whoops, forgot to change names

* Fix problems with flipping back
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.

3 participants