style: Fix stray/missing semi-colons
Spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/607
This commit is contained in:
@ -51,7 +51,7 @@ function _premultiply(color) {
|
||||
green: _norm(color.green * color.alpha),
|
||||
blue: _norm(color.blue * color.alpha),
|
||||
alpha: color.alpha });
|
||||
};
|
||||
}
|
||||
|
||||
function _unpremultiply(color) {
|
||||
if (color.alpha == 0)
|
||||
@ -62,7 +62,7 @@ function _unpremultiply(color) {
|
||||
let blue = Math.min((color.blue * 255 + 127) / color.alpha, 255);
|
||||
return new Clutter.Color({ red: red, green: green,
|
||||
blue: blue, alpha: color.alpha });
|
||||
};
|
||||
}
|
||||
|
||||
class AppMenu extends PopupMenu.PopupMenu {
|
||||
constructor(sourceActor) {
|
||||
@ -1189,7 +1189,7 @@ class Panel extends St.Widget {
|
||||
|
||||
_getDraggableWindowForPosition(stageX) {
|
||||
let workspaceManager = global.workspace_manager;
|
||||
let workspace = workspaceManager.get_active_workspace()
|
||||
let workspace = workspaceManager.get_active_workspace();
|
||||
let allWindowsByStacking = global.display.sort_windows_by_stacking(
|
||||
workspace.list_windows()
|
||||
).reverse();
|
||||
@ -1200,7 +1200,7 @@ class Panel extends St.Widget {
|
||||
metaWindow.showing_on_its_workspace() &&
|
||||
metaWindow.get_window_type() != Meta.WindowType.DESKTOP &&
|
||||
metaWindow.maximized_vertically &&
|
||||
stageX > rect.x && stageX < rect.x + rect.width
|
||||
stageX > rect.x && stageX < rect.x + rect.width;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user