mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue