Fix ripple animation for RTL locales

The animation was invisible because it was going out of screen, also
add a mirrored version of the image to the theme.

https://bugzilla.gnome.org/show_bug.cgi?id=584662
This commit is contained in:
Abderrahim Kitouni
2010-11-30 16:12:22 +01:00
committed by Florian Müllner
parent 4208078750
commit 12fad6f05f
5 changed files with 9 additions and 2 deletions

View File

@ -706,6 +706,8 @@ HotCorner.prototype = {
x: x,
y: y });
ripple._opacity = startOpacity;
if (ripple.get_direction() == St.TextDirection.RTL)
ripple.set_anchor_point_from_gravity(Clutter.Gravity.NORTH_EAST);
Tweener.addTween(ripple, { _opacity: finalOpacity,
scale_x: finalScale,
scale_y: finalScale,