overviewControls: Remove superfluous max()
We don't need to call Math.max() to figure out the maximum of a single value :-) Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1709>
This commit is contained in:
parent
ea5efbbd52
commit
e0c0662164
@ -66,7 +66,7 @@ class ControlsManagerLayout extends Clutter.BoxLayout {
|
||||
workspaceBox.set_origin(0, searchHeight + spacing);
|
||||
workspaceBox.set_size(
|
||||
width,
|
||||
Math.round(Math.max(height * SMALL_WORKSPACE_RATIO)));
|
||||
Math.round(height * SMALL_WORKSPACE_RATIO));
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user