dash: Reindent some more code

Again we're about to touch it.

https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/89

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1660>
This commit is contained in:
Florian Müllner 2021-02-09 22:01:45 +01:00 committed by Marge Bot
parent 73b94c3901
commit 5c31ef6ae2

View File

@ -57,13 +57,15 @@ class DashIcon extends AppDisplay.AppIcon {
var DashItemContainer = GObject.registerClass(
class DashItemContainer extends St.Widget {
_init() {
super._init({ style_class: 'dash-item-container',
super._init({
style_class: 'dash-item-container',
pivot_point: new Graphene.Point({ x: .5, y: .5 }),
scale_x: 0,
scale_y: 0,
opacity: 0,
x_expand: true,
x_align: Clutter.ActorAlign.CENTER });
x_align: Clutter.ActorAlign.CENTER,
});
this._labelText = "";
this.label = new St.Label({ style_class: 'dash-label' });