Skip to content

Commit 374aa23

Browse files
committed
✨ Apply clang-format
1 parent 413a6e3 commit 374aa23

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

prefs.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,9 @@ export default class FlyPiePreferences extends ExtensionPreferences {
197197
this._pages.forEach(page => {
198198
window.add(page);
199199

200-
// Starting with GNOME 48 there is an additional scrolled windo in the adw preference pages which
201-
// we do not want. We simply hide it.
202-
if (utils.shellVersionIsAtLeast(48, "alpha")) {
200+
// Starting with GNOME 48 there is an additional scrolled windo in the adw
201+
// preference pages which we do not want. We simply hide it.
202+
if (utils.shellVersionIsAtLeast(48, 'alpha')) {
203203
const scrolledWindow = this._findChildByType(page, Gtk.ScrolledWindow);
204204
if (scrolledWindow) {
205205
scrolledWindow.visible = false;

src/extension/Background.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,11 @@ class Background extends Clutter.Actor {
226226
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
227227
onStopped: () => {
228228
// Since GNOME 48 this is a "global" method.
229-
if (Meta.disable_unredirect_for_display) {
230-
Meta.enable_unredirect_for_display(global.display);
231-
} else {
232-
global.compositor.enable_unredirect();
233-
}
229+
if (Meta.disable_unredirect_for_display) {
230+
Meta.enable_unredirect_for_display(global.display);
231+
} else {
232+
global.compositor.enable_unredirect();
233+
}
234234

235235
// Hide completely once the opacity has been faded to zero.
236236
this.visible = false;

src/extension/SelectionWedges.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ class SelectionWedges extends Clutter.Actor {
104104
// faster than a Clutter.Canvas.
105105
this._wedgeActor = new Clutter.Actor();
106106
this._wedgeShader = new Clutter.ShaderEffect({
107-
shader_type: Cogl.ShaderType ? Cogl.ShaderType.FRAGMENT : Clutter.ShaderType.FRAGMENT_SHADER,
107+
shader_type: Cogl.ShaderType ? Cogl.ShaderType.FRAGMENT :
108+
Clutter.ShaderType.FRAGMENT_SHADER,
108109
});
109110

110111
// This shader could be simplified by using vec4's for the colors, but I did not

0 commit comments

Comments
 (0)