Remove manually added :rtl pseudo classes
To deal with different CSS in RTL locales, we used to manually add an :rtl pseudo class to some actors. With automatically assigned :ltr/:rtl selectors this is no longer necessary. https://bugzilla.gnome.org/show_bug.cgi?id=643835
This commit is contained in:
@ -813,13 +813,6 @@ Panel.prototype = {
|
||||
this._centerBox = new St.BoxLayout({ name: 'panelCenter' });
|
||||
this._rightBox = new St.BoxLayout({ name: 'panelRight' });
|
||||
|
||||
// This will eventually be automatic, see
|
||||
// https://bugzilla.gnome.org/show_bug.cgi?id=584662
|
||||
if (St.Widget.get_default_direction() == St.TextDirection.RTL) {
|
||||
this._leftBox.add_style_pseudo_class('rtl');
|
||||
this._rightBox.add_style_pseudo_class('rtl');
|
||||
}
|
||||
|
||||
this._leftCorner = new PanelCorner(St.Side.LEFT);
|
||||
this._rightCorner = new PanelCorner(St.Side.RIGHT);
|
||||
|
||||
|
Reference in New Issue
Block a user